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