<?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_getTimeLimit</id>
	<title>Bz getTimeLimit - 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_getTimeLimit"/>
	<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Bz_getTimeLimit&amp;action=history"/>
	<updated>2026-04-28T16:35:25Z</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_getTimeLimit&amp;diff=8068&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_getTimeLimit&amp;diff=8068&amp;oldid=prev"/>
		<updated>2011-10-19T09:15:15Z</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_getTimeLimit&lt;br /&gt;
| returns       = The value of the last time limit.&lt;br /&gt;
| returntype    = float&lt;br /&gt;
| description   = Retrieves the value of the time limit that was last set.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
Display time limit to user upon joining. Note that the &amp;#039;&amp;#039;&amp;#039;-time&amp;#039;&amp;#039;&amp;#039; BZFS option or [[bz_setTimeLimit]]() must be called for this to return a value other than 0.&lt;br /&gt;
 case bz_ePlayerJoinEvent: {&lt;br /&gt;
 	bz_sendTextMessagef(BZ_SERVER,((bz_PlayerJoinPartEventData_V1*)eventData)-&amp;gt;playerID,&lt;br /&gt;
 		&amp;quot;Welcome! The current countdown timer is set to %lf seconds!&amp;quot;,bz_getTimeLimit());&lt;br /&gt;
 }break;&lt;/div&gt;</summary>
		<author><name>Sigonasr2</name></author>
	</entry>
</feed>