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_isCountDownActive
Jump to navigation
Jump to search
bool bz_isCountDownActive ()
Retrieves whether or not the countdown is active. The countdown timer is active if the timer is continuing to go down every second.
Returns:
Whether or not the countdown timer is ticking down.
Example
Tell players that join that a match is in progress if they join while the countdown is active.
case bz_ePlayerJoinEvent: {
if (bz_isCountDownActive()) {
bz_sendTextMessage(BZ_SERVER,((bz_PlayerJoinPartEventData_V1*)eventData)->playerID,
"Welcome! There is currently a timed match in progress.");}
}break;