Client Exports
Client Exports
Section titled “Client Exports”All client exports can be called from other client-side resources using the exports function.
isInRedzone
Section titled “isInRedzone”Check whether the local player is currently inside a redzone
local inZone = exports['senor_redzones']:isInRedzone()Returns:
boolean-trueif the player is inside an active redzone,falseotherwise
Example:
if exports['senor_redzones']:isInRedzone() then print("You are in a redzone!")end