- Documentation
- Server functions
- getPlayerArmour
Function
getPlayerArmour
Returns the player's armour (0-100).
Syntax
float getPlayerArmour(player thePlayer)Arguments
thePlayerplayer- The player.
Returns
Armour.
Example
addCommandHandler("pancerz", function(player)
outputChatBox(("Pancerz: %.0f"):format(getPlayerArmour(player)), player)
end)