Scripting/Squirrel/Client Events/Script::ScriptLoad

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

Arguments

  • None

Example

The following example will print "Hello World!" when the server is started.

function Script::ScriptLoad()
{
    Console.Print("Hello World!");
}

Notes

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