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

float bz_getTimeLimit ()

Retrieves the value of the time limit that was last set.

The value of the last time limit.


Display time limit to user upon joining. Note that the -time BZFS option or bz_setTimeLimit() must be called for this to return a value other than 0.

case bz_ePlayerJoinEvent: {
		"Welcome! The current countdown timer is set to %lf seconds!",bz_getTimeLimit());