<?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_setBZDBString</id>
	<title>Bz setBZDBString - 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_setBZDBString"/>
	<link rel="alternate" type="text/html" href="https://wiki.bzflag.org/index.php?title=Bz_setBZDBString&amp;action=history"/>
	<updated>2026-04-06T14:20:35Z</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_setBZDBString&amp;diff=8053&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_setBZDBString&amp;diff=8053&amp;oldid=prev"/>
		<updated>2011-10-19T06:25: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_setBZDBString&lt;br /&gt;
| returns       = Whether or not the set was successful.&lt;br /&gt;
| returntype    = bool&lt;br /&gt;
| description   = Sets a BZDB variable to a given &amp;#039;&amp;#039;&amp;#039;string&amp;#039;&amp;#039;&amp;#039; value.&lt;br /&gt;
| param1        = variable&lt;br /&gt;
| param1type    = const char*&lt;br /&gt;
| param1desc    = Variable name (E.g. &amp;quot;_shockOutRadius&amp;quot;)&lt;br /&gt;
| param2        = val&lt;br /&gt;
| param2type    = const char*&lt;br /&gt;
| param2desc    = The value to set the variable to.&lt;br /&gt;
| param3        = perms = 0&lt;br /&gt;
| param3type    = int&lt;br /&gt;
| param3desc    = What to set the permission value to. (Range: 1-3. Using 0 sets it to the default [2], and using a higher number sets it to 3.)&lt;br /&gt;
| param4        = persistent = false&lt;br /&gt;
| param4type    = bool&lt;br /&gt;
| param4desc    = Whether or not the variable will be persistent.&lt;br /&gt;
}}&lt;br /&gt;
===Example===&lt;br /&gt;
Sets the fog color to a light white color.&lt;br /&gt;
 bz_setBZDBString(&amp;quot;_fogColor&amp;quot;,&amp;quot;0.8 0.8 0.8&amp;quot;);&lt;/div&gt;</summary>
		<author><name>Sigonasr2</name></author>
	</entry>
</feed>