GetPlayerStatus: Difference between revisions

Now in default
(Documented GetPlayerStatus)
Tag: Source edit
 
(Now in default)
Tag: Source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ACSWarning}}{{DevTopicWarning|acs-getplayerstatus|type=an [[ACS]] function|mr=13|mrtitle=ACS function: "GetPlayerStatus"}}
{{ACSWarning}}
{{DevfeatureWarning|version=3.2|type=an [[ACS]] function}}
int '''GetPlayerStatus''' (int ''player'')
int '''GetPlayerStatus''' (int ''player'')


== Usage ==  
== Usage ==  
Returns the status of a player. The status is typically represented as an [[Skulltag icons|icon]] above their head.
Returns a [[Player statuses|player's status]], which is typically represented as an icon above their head.


=== Parameters ===
=== Parameters ===
Line 25: Line 26:
|}
|}


IF the player index is invalid, this function returns 0.
If the player index is invalid, this function returns 0.


== Examples ==
== Examples ==