OnServerStart: 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
No edit summary
mNo edit summary
 
Line 3: Line 3:
onServerStart()
onServerStart()
</source>
</source>
== Arguments ==
* ''None''


== Example ==
== Example ==

Latest revision as of 21:08, 22 August 2019

Syntax

onServerStart()

Example

The following example will print "Hello World!" when the server is started.

function onServerStart() {
  print( "Hello World!" );
}

Notes

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

Related Functions