💻Exports

Usefull Exports

--- Checks if the player is currently within their gang territory
--- @param PlayerId integer - The ID of the player to check
--- @return boolean - Returns true if the player is inside their gang territory, false otherwise
exports['l2s-gangsturf']:PlayerInHisGang(PlayerId)

--- Adds the specified amount to the gang's level
--- @param gang string - The name or identifier of the gang
--- @param amount integer - The amount to add to the gang level
exports['l2s-gangsturf']:AddGangLevel(gang, amount)

--- Removes the specified amount from the gang's level
--- @param gang string - The name or identifier of the gang
--- @param amount integer - The amount to remove from the gang level
exports['l2s-gangsturf']:RemoveGangLevel(gang, amount)

--- Retrieves the current level of the specified gang
--- @param gang string - The name or identifier of the gang
--- @return integer - Returns the current level of the gang
exports['l2s-gangsturf']:GetGangLevel(gang)

Last updated