GetPlayerArmor: Difference between revisions
Jump to navigation
Jump to search
m (→Example) |
m (→Example) |
||
Line 11: | Line 11: | ||
==Example== | ==Example== | ||
armor = [[getPlayerArmor]] ( [[findPlayer]] ( "Someguy" ) ) | armor = [[getPlayerArmor]] ( [[findPlayer]] ( "Someguy" ) ) | ||
[[ | [[serverChat]] ( "Someguy's current Armor: ", armor, "." ) |
Revision as of 07:28, 28 March 2006
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
armor = getPlayerArmor ( findPlayer ( "Someguy" ) ) serverChat ( "Someguy's current Armor: ", armor, "." )