Scripting/Squirrel/Client Events/Script::ScriptUnload
From Vice City Multiplayer [MIRROR]
Contents
Syntax
Script::ScriptUnload()
Arguments
- None
Example
The following example will print "Disconnect!" when the client disconnected to a server. <source lang=squirrel> function Script::ScriptUnload() {
Console.Print("Disconnect!");
} </source>
Notes
Function Console.Print was used in this example. The Console.Print function outputs a string on the console.