Scripting/Squirrel/Events/Misc/onScriptLoad
From VC-MP Wiki
This is called when a new Squirrel script is loaded. This will only be called in the VM the script is using.
Syntax
function onScriptLoad()
Parameters
- none
Example
This example will print the script name to the console when the script is loaded.
function onScriptLoad() { print( "== Loaded Squirrel VC:MP Script ==" ); }
Related Events
- onScriptLoad
- onScriptUnload
- onConsoleInput
