OnScriptUnload: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "== Example == <source lang="squirrel"> function onScriptUnload() { print( "Squirrel Script closed successfully" ); } </source>")
 
No edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Description ==
Executed when the script is removed from memory
== Example ==
== Example ==
<source lang="squirrel">
<source lang="squirrel">
function onScriptUnload()
function onScriptUnload()
{
{
print( "Squirrel Script closed successfully" );
print( "== Unloaded 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 when the script is removed from memory

Example

function onScriptUnload()
{
	print( "== Unloaded Squirrel VC:MP Script ==" );
}

Related Functions