π₯οΈClient
GetCoordsFromZone
Return the center x and y coords of a zone from a zone id
Usage :
exports.core_gangs:getCoordsFromZone(zoneId)Example :
local x, y = exports.core_gangs:getCoordsFromZone(6406)GetZoneFromPlayer
Return the zone id from the current player position
Usage :
exports.core_gangs:getZoneFromPlayer()Example :
local zoneId = exports.core_gangs:getZoneFromPlayer()GetZoneFromCoords
Return the zone id from x and y coords
Usage :
Example :
GetPlayerOrganization
Return the player organization name or nil
Usage :
Example :
IsPlayerInZone
Return if the player is in the zone pass as parameter
Usage :
Example :
IsPlayerOrganizationZone
Return if the zone pass as parameter is own by the player organization
Usage :
Example :
IsOrganizationZone
Return if the zone is own by the organization
Usage :
Example :
Last updated