Exports

GetGang()

This export returns gang information of the specified player.

Example code

local info = exports['arketype_GangBuilder']:getGang()

Return:

  • info?: table

    • gangplayer_rank: number

      • number: Rank level of player

    • gangrank_label: string

      • string: Rank label of player

    • gangplayer_label: string

      • string: Gang label of player

    • gangplayer_name: string

      • string: Gang name of player

addGangPercentage()

This export allows you to trigger loyalty gain. You can add it to any illegal script when the action is completed. The script will automatically detect whether the player is a civilian or a gang member, and will also detect if the player is in a gang zone or not.

Example code

circle-info

0.1 can be replaced but we do not recommend exceeding 1.0

Exemple of use :

Mis à jour