bz_getPausedTime()
Available since 2.4.4
Get the amount of time a player has been paused.
Usage
int bz_getPausedTime(int playerID)
Parameters | ||
---|---|---|
int |
playerID
|
The player whose paused time to get |
Returns
int - The number of seconds a player has been paused. If the player ID does not exist, it will return -1; otherwise it will return 0 if the player is not paused or is an observer.
Other Player Latency Functions
This content is maintained on GitHub. We welcome any feedback and improvements!