GetPlayerArmor

From Multi Theft Auto: Wiki
Revision as of 10:18, 26 March 2006 by Vandalite (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

armor = getPlayerArmor ( findPlayer ( Someguy ) )
serverchat ( "Someguy's current Armor: ", armor, "." )