OnScriptLoad: 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
No edit summary
No edit summary
Line 12: Line 12:
}
}
</source>
</source>
== Related Functions ==
{{Scripting/Squirrel/Events/Server_Events}}
[[Category:Scripting/Squirrel/Events/Server_Events]]

Revision as of 22:20, 30 January 2017

Description

Executed whenever the script is loaded (including reload)


Example

function onScriptLoad()
{
    print( "== Loaded Squirrel VC:MP Script ==" );
}

Related Functions