Guide to use the script more advanced
Exports are used to sync the zone script with the addon script
Check if the player is inside the zone
Return:
Boolean:
true: the player inside the zone
true
false: the player outside the zone
false
exports["highqez_AFKzone"]:IsInZone()
Works if EnableSafeZoneUI= true
Check if the player is inside the Safe zone
true: the player is inside the Safe zone
false: the player is outside the Safe zone
Works if EnableAFKZoneUI = true
Check if the player is inside the AFK zone
true: the player is inside the AFK zone
false: the player is outside the AFK zone
Obtain the current zone name
String:
zonename: the name of the zone player is inside
zonename
false: the player is outside the zone
Last updated 1 year ago
exports["highqez_AFKzone"]:IsInSafeZone()
exports["highqez_AFKzone"]:IsInAFKZone()
exports["highqez_AFKzone"]:GetZoneName()