API_DOCS: Player Pause States

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
Staff Sergeant
Staff Sergeant
Posts: 5187
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks

API_DOCS: Player Pause States

Post by JeffM » Fri Feb 09, 2007 12:10 am

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.

Post Reply