GetPlayerArmor
Jump to navigation
Jump to search
Description
This function returns a float that contains the current armor for the specified player.
Syntax
float getPlayerArmor ( player player )
Required Arguments
- player: The player whose armor you want to check
Example
-- get health of 'someguy' and show it in the chat tmpplayer = getPlayerFromNick ( "someguy" ) armor = getPlayerArmor ( tmpplayer ) outputChatBox ( "The player's armor is: " .. armor )
See Also
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState