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