Exports
Client
hasArmour()
Checks if there is an active armour.
Returns:
true/false - True or False
Example:
local hasArmour = exports.zrx_armour:hasArmour()
if hasArmour then
print('yes')
else
print('no')
enddisplayArmour(state)
Enables/Disables the armour vest.
Parameters:
state - bool - True or False
Example:
Server
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:
Last updated
Was this helpful?