This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "Bz resetBZDBVar"

From BZFlagWiki
Jump to: navigation, search
(Add bz_resetBZDBVar)
 
m (You can reset all variables using this function.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{apicall
 
{{apicall
 
| name            = bz_resetBZDBVar
 
| name            = bz_resetBZDBVar
| description      = Resets the value of a variable.
+
| description      = Resets the value of a variable. (Putting "" as the variable will reset them all)
 
| param1          = variable
 
| param1          = variable
 
| param1type      = const char*
 
| param1type      = const char*
 
| param1desc      = The variable to reset.
 
| param1desc      = The variable to reset.
 
| returntype      = void
 
| returntype      = void
| returns          = Nothing
 
 
}}
 
}}

Latest revision as of 01:27, 12 February 2009

void bz_resetBZDBVar (const char* variable)


Resets the value of a variable. (Putting "" as the variable will reset them all)

Parameters:
variable  -  The variable to reset.