Exports
Server
hasCooldown()
Checks if there is an active cooldown.
Returns:
true/false - True or False
Example:
local cooldown = exports.zrx_blackmarket:hasCooldown()
if cooldown then
    print('yes')
else
    print('no')
endhasCooldown(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_blackmarket:hasCooldown(1)
if cooldown then
    print('yes')
else
    print('no')
endLast updated
Was this helpful?
