💻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)
--- Checks if the player is currently inside their gang territory
--- @return boolean - Returns true if the player is inside their gang territory, false otherwise
exports['l2s-gangsturf']:PlayerInHisGang()
--- Checks if the specified coordinates fall within the radius of any gang territory
--- @param x number - The x-coordinate to check
--- @param y number - The y-coordinate to check
--- @return string - Returns the name of the gang if the coordinates are within their territory, otherwise returns an empty string
exports['l2s-gangsturf']:CheckCoords(x, y)
Last updated