Scripting/Squirrel/Client Events/Script::ScriptUnload

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

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.