This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.
Bz setTimeLimit: Difference between revisions
Jump to navigation
Jump to search
Create API Function Page. Include Example. |
(No difference)
|
Latest revision as of 09:09, 19 October 2011
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
Set the countdown timer to 54 seconds remaining.
bz_setTimeLimit(54);