Client
Guide to use the script more advanced
Exports are used to sync the zone script with the addon script
IsInZone
Check if the player is inside the zone
Return:
Boolean:
true
: the player inside the zonefalse
: the player outside the zone
Usage
IsInSafeZone
Works if EnableSafeZoneUI= true
Check if the player is inside the Safe zone
Return:
Boolean:
true
: the player is inside the Safe zonefalse
: the player is outside the Safe zone
Usage
IsInAFKZone
Works if EnableAFKZoneUI = true
Check if the player is inside the AFK zone
Return:
Boolean:
true
: the player is inside the AFK zonefalse
: the player is outside the AFK zone
Usage
GetZoneName
Obtain the current zone name
Return:
String:
zonename
: the name of the zone player is inside
Boolean:
false
: the player is outside the zone
Usage
Last updated
Was this helpful?