OnServerStop: 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 "== Syntax == <pre>onServerStop()</pre> ---- == Arguments == * ''None'' ---- == Example == The Following Example Will Print "The Server Is Closing" When The Server Is C...")
 
No edit summary
 
Line 26: Line 26:


Function print() was used in this example.The print() function outputs a formatted string on the console.
Function print() was used in this example.The print() function outputs a formatted string on the console.
== Related Functions ==
{{Scripting/Squirrel/Events/Server_Events}}
[[Category:Scripting/Squirrel/Events/Server_Events]]

Latest revision as of 22:20, 30 January 2017

Syntax

onServerStop()

Arguments

  • None


Example

The Following Example Will Print "The Server Is Closing" When The Server Is Closed!

function onServerStop()
{
print( "The Server Is Closing" );
}

Notes

Function print() was used in this example.The print() function outputs a formatted string on the console.

Related Functions