This wiki is archived and useful information is being migrated to the main bzflag.org website
bz_setTimeLimit
From BZFlagWiki
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().
Parameters:
timeLimit - The amount of time in seconds to set the countdown timer to.
Returns:
Whether or not the time limit was able to be set.
Example[edit]
Set the countdown timer to 54 seconds remaining.
bz_setTimeLimit(54);