<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bzflag.org/index.php?action=history&amp;feed=atom&amp;title=Bz_isCountDownInProgress</id>
	<title>Bz isCountDownInProgress - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bzflag.org/index.php?action=history&amp;feed=atom&amp;title=Bz_isCountDownInProgress"/>
	<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Bz_isCountDownInProgress&amp;action=history"/>
	<updated>2026-04-28T16:35:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.bzflag.org/index.php?title=Bz_isCountDownInProgress&amp;diff=8071&amp;oldid=prev</id>
		<title>Sigonasr2: Create API Function Page. Include Example.</title>
		<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Bz_isCountDownInProgress&amp;diff=8071&amp;oldid=prev"/>
		<updated>2011-10-19T09:27:59Z</updated>

		<summary type="html">&lt;p&gt;Create API Function Page. Include Example.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{apicall&lt;br /&gt;
| name          = bz_isCountDownInProgress&lt;br /&gt;
| returns       = Whether or not the match is going to start.&lt;br /&gt;
| returntype    = bool&lt;br /&gt;
| description   = Retrieves whether or not the countdown to the start of the match is occurring.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
Kick a player if they join when a match is about to start and they are not an observer.&lt;br /&gt;
 case bz_eAllowPlayer: {&lt;br /&gt;
 	if (bz_isCountDownInProgress() &amp;amp;&amp;amp; bz_getPlayerTeam(((bz_AllowPlayerEventData_V1*)eventData)-&amp;gt;playerID)!=eObservers) {&lt;br /&gt;
 		((bz_AllowPlayerEventData_V1*)eventData)-&amp;gt;allow=false;&lt;br /&gt;
 		((bz_AllowPlayerEventData_V1*)eventData)-&amp;gt;reason=&amp;quot;Sorry! A match is about to start.&amp;quot;;&lt;br /&gt;
 	}&lt;br /&gt;
 }break;&lt;/div&gt;</summary>
		<author><name>Sigonasr2</name></author>
	</entry>
</feed>