From BZFlagWiki
Jump to: navigation, search

bool bz_isTimeManualStart ()

Retrieves whether or not the time limit has to be started via a player issuing the /countdown command. The -timemanual BZFS option would make this return value true.

True if the time limit requires manual startup or false if it is automatically running from the start.


If a player joins and the timer requires manual starting, tell the user that.

case bz_ePlayerJoinEvent: {
	if (bz_isTimeManualStart()) {
		"Welcome! You can start the timer with /countdown at any time.");}