Exports

Client

hasCooldown()

Checks if there is an active cooldown.

Returns: true/false - True or False

Example:

local cooldown = exports.zrx_panicbutton:hasCooldown()

if cooldown then
    print('yes')
else
    print('no')
end

activeBlips()

Returns all active blips.

Returns: table - All active blips

Example:

local blips = exports.zrx_panicbutton:activeBlips()

print(json.encode(blips, { indent = true })

Server

activeBlips()

Returns all active blips.

Returns: table - All active blips

Example:

local blips = exports.zrx_personalmenu:activeBlips()

print(json.encode(blips, { indent = true })

Last updated