Server

ServerSide exports of the territories script.

AddInfluence

---@param territory string
---@param gang string
---@param value integer
exports["cs-territories"]:AddInfluence(territory, gang, value)

Add influence in a territory.


RemoveInfluence

---@param territory string
---@param gang string
---@param value integer
exports["cs-territories"]:RemoveInfluence(territory, gang, value)

Remove influence in a territory.


GetMaxInfluence

Return a table the maximum influence of a territory.


CheckGangInZone

Returns a table with the gangs located within a territory.


GetTerritoriesDB

Return all territories database. (JSON content)

Last updated