Client
ClientSide exports of the territories script.
Use these exports at your own risk. Please note that improper use may result in performance or stability issues. Implementing them in fast loops or modifying the script name is not recommended for proper functionality.
The client-side exports will not modify anything in the script, they will only return information for obvious security reasons.
IsMyZone
Returns a true boolean if the organization to which it belongs has the maximum influence in that territory. If the string is left empty, it will be done with the territory in which it is located.
GetCurrent
It will return the name of the territory you are in. If you are not in any territory, it will return a false boolean.
GetMaxInfluence
It will return a table with the appearance of the table below. If the territory is not specified, it will use the territory in which the user is located.
GetInfluences
It will return a table with the territory influences; it might be an empty table if there is no data. If a territory is not specified, the current territory will be assigned.
GetTerritories
It will return a table with all the territories information.
GetPodium
It will return a table with the content of the conquest podium displayed in the interface. It will contain information such as the numeric value or the gang name. Similar to the HTML podium, it will only return the top three bands with the most influence, following their respective order.
GetGangInfluence
Both fields will be mandatory. it will return the influence of a band in a specific territory.
Last updated