From BZFlagWiki
Revision as of 09:09, 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

bool bz_setTimeLimit (float timeLimit)

Sets the countdown timer to a new value. Note: Any players that retrieved the countdown value before this function is called will not see the changes until they rejoin or a new countdown is triggered via bz_startCountdown().

timeLimit  -  The amount of time in seconds to set the countdown timer to.
Whether or not the time limit was able to be set.


Set the countdown timer to 54 seconds remaining.