onScriptUnload
From Liberty Unleashed Wiki
This function is called when a Squirrel script is unloaded from the client.
Syntax
function onScriptUnload()
Arguments
- none
Returns
This event does not handle return values.
Example
This example will print the name of the unloading script to the client console.
function onScriptUnload() { print( "Unloading LU Test Script" ); return 1; }
Related Events
- onClientRender
- onGlassSmash
- onScriptLoad
- onScriptUnload