Scripting/Squirrel/Client Events/Script::ScriptUnload

From Vice City Multiplayer
Revision as of 15:57, 29 April 2016 by Ysc3839 (talk | contribs) (Created page with "== Syntax == <pre>Script::ScriptUnload()</pre> ---- == Arguments == * ''None'' ---- == Example == The following example will print "Disconnect!" when the client disconnecte...")
(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

Syntax

Script::ScriptUnload()

Arguments

  • None

Example

The following example will print "Disconnect!" when the client disconnected to a server.

function Script::ScriptUnload()
{
    Console.Print("Disconnect!");
}

Notes

Function Console.Print was used in this example. The Console.Print function outputs a string on the console.