Exports
Client
activeBlips()
Returns all active blips.
Returns:
table - All active blips
Example:
local blips = exports.zrx_restrictedzone:activeBlips()
print(json.encode(blips, { indent = true })hasCooldown()
Checks if there is an active cooldown.
Returns:
true/false - True or False
Example:
local cooldown = exports.zrx_restrictedzone:hasCooldown()
if cooldown then
    print('yes')
else
    print('no')
endServer
activeBlips()
Returns all active blips.
Returns:
table - All active blips
Example:
local blips = exports.zrx_restrictedzone:activeBlips()
print(json.encode(blips, { indent = true })hasCooldown(player)
Checks if a player has an active cooldown.
Parameters:
player - number - The player server id
Returns:
false/number - Number is the os.time() timestamp
Example:
local cooldown = exports.zrx_restrictedzone:hasCooldown(1)
if cooldown then
    print('yes')
else
    print('no')
endLast updated
Was this helpful?