Scripting/Squirrel/Functions/UnbindAll

From Vice City Multiplayer
Revision as of 21:20, 22 April 2016 by Pun1sh3r (talk | contribs) (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>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

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.