This wiki is archived and useful information is being migrated to the main bzflag.org website

bz_getIdleTime

From BZFlagWiki
Revision as of 22:02, 20 October 2012 by Allejo (Talk | contribs)

Jump to: navigation, search

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