OnServerStart: 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 "== Syntax == <pre>onServerStart()</pre> ---- == Arguments == * ''None'' ---- == Example == The following example will print "Hello World!" when the server is started. <sour...") |
(No difference)
|
Revision as of 09:14, 7 September 2014
Syntax
onServerStart()
Arguments
- None
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.