Scripting/Squirrel/Client Events/Script::ScriptLoad

From Vice City Multiplayer [MIRROR]
Jump to: navigation, search

Syntax

Script::ScriptLoad()

Arguments

  • None

Example

The following example will print "Hello World!" when the client connected to a server. <source lang=squirrel> function Script::ScriptLoad() {

   Console.Print("Hello World!");

} </source>

Notes

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