Scripting/Squirrel/Client Events/Script::ScriptUnload: Difference between revisions
Jump to navigation
Jump to search

This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "== Syntax == <pre>Script::ScriptUnload()</pre> ---- == Arguments == * ''None'' ---- == Example == The following example will print "Disconnect!" when the client disconnecte...") |
(No difference)
|
Latest revision as of 15:57, 29 April 2016
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.