Scripting/Squirrel/Events/Server/onServerStart

From VC-MP Wiki

Jump to: navigation, search

This event is called when the server is started.

Syntax

function onServerStart()

Parameters

  • none

Example

This example will print a small message when the server is started.

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

Related Events

Personal tools
squirrel scripting