OnScriptLoad: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "== Example == <source lang="squirrel"> function onScriptLoad() { print( "Squirrel Script started successfully" ); } </source>") |
No edit summary |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
== Description == | |||
Executed whenever the script is loaded (including reload) | |||
== Example == | == Example == | ||
<source lang="squirrel"> | <source lang="squirrel"> | ||
function onScriptLoad() | function onScriptLoad() | ||
{ | { | ||
print( "== Loaded Squirrel VC:MP Script ==" ); | |||
} | } | ||
</source> | </source> | ||
== Related Functions == | |||
{{Scripting/Squirrel/Events/Server_Events}} | |||
[[Category:Scripting/Squirrel/Events/Server_Events]] |
Latest revision as of 10:25, 26 April 2019
Description
Executed whenever the script is loaded (including reload)
Example
function onScriptLoad()
{
print( "== Loaded Squirrel VC:MP Script ==" );
}