Scripting/Squirrel/Client Events/Script::ScriptLoad: Difference between revisions

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
(Created page with "== Syntax == <pre>Script::ScriptLoad()</pre> ---- == Arguments == * ''None'' ---- == Example == The following example will print "Hello World!" when the server is started....")
(No difference)

Revision as of 15:54, 29 April 2016

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.