This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "Bz getIdleTime"
From BZFlagWiki
(Created page with "{{apicall | name = bz_getIdleTime | description = Returns the amount of time a player has been idele in seconds | param1 = playerId | param1type = int | param1desc ...") |
|||
Line 1: | Line 1: | ||
{{apicall | {{apicall | ||
| name = bz_getIdleTime | | name = bz_getIdleTime | ||
− | | description = Returns the amount of time a player has been | + | | description = Returns the amount of time a player has been idle in seconds |
| param1 = playerId | | param1 = playerId | ||
| param1type = int | | param1type = int |
Revision as of 22:02, 20 October 2012
int bz_getIdleTime (int playerId)
Minimum API Version: 2.4.3 or later
Returns the amount of time a player has been idle in seconds
Parameters:
playerId - Player to lookup.
Returns:
Number of seconds of idle time