Scripting/Squirrel/Functions/UnbindAll: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "'''UnbindAll''' removes all binded server keys. == Syntax == <pre>UnbindAll()</pre> == Example == The following example will unbind all server keys <source lang=squirrel>...")
 
No edit summary
Line 20: Line 20:


* Callbacks [[onScriptUnload]] were used in this example. More info about them in the corresponding pages.
* Callbacks [[onScriptUnload]] were used in this example. More info about them in the corresponding pages.
== Related Functions ==
{{Scripting/Squirrel/Functions/Game_Functions}}

Revision as of 21:27, 22 April 2016

UnbindAll removes all binded server keys.

Syntax

UnbindAll()

Example

The following example will unbind all server keys

function onScriptUnload()
{
    UnbindAll();
}

Notes

  • Callbacks onScriptUnload were used in this example. More info about them in the corresponding pages.

Related Functions