API_DOCS: Player Pause States

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

API_DOCS: Player Pause States

Post by JeffM »

I have added a function to the API to tell if a player is paused or not.

Code: Select all

BZF_API bool bz_isPlayerPaused( int playerID )
Returns true if the current player is valid and paused.

I have allso added a paused field to the bz_ePlayerPausedEvent event to let you know if they are pausing or unpausing.
ImageJeffM
Post Reply