From BZFlagWiki
Revision as of 09:34, 19 October 2011 by Sigonasr2 (Talk | contribs) (Create API Function Page. Include Example.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

void bz_pauseCountdown (const char* pausedBy)

Pauses the countdown that is currently running.

pausedBy  -  The name of the player stopping the countdown. Note that this value does not have to be a callsign of a player in the server, it can be any string.


Pause the countdown if a player pauses, saying the player that paused decided to pause the countdown also.

case bz_ePlayerPausedEvent:{
	if (bz_isCountDownActive() && ((bz_PlayerPausedEventData_V1*)eventData)->pause) {