Exports & Events
All exports and events available to integrate this resource into others.
Last updated
Was this helpful?
All exports and events available to integrate this resource into others.
Last updated
Was this helpful?
If you wish to have any exports and or events added, please head over to our and create a suggestion post. We are happy to allow for easier integration within other resources.
A function to see if you are in a gang or not. Example:
Returns the players' gang id. If you pass in a valid server id, it will return the gang id for that player, or can be left as nil to use the client's server id. Example:
Will return the player's rank table and index for the rank in their gang's data. Example:
Export to return the member table for that player. Example:
Returns the gang name. Used as a display label. Example:
Returns the entire gang table stored on the client side. This is lots of information and should not be fetched too often. Example:
Returns the gang color in a table with rgb keys. Example:
Get gang from gang id. The
copy
parameter should only be used internally. Example:
Get a player's gang id from their player id, also known as source. Example:
Get the player's gang from their player id, also known as source. Example:
Get the player's gang from their character identifier. Example:
Returns the overall standing in turf wars. Can be used to check if a gang can attack / defend turfs, displaying their overall strength and be used as a reputation. Example: