Method Global:RestartServer [-] [+]

@brief Schedules a server restart after a specified countdown.

The countdown is displayed to all players using the core's standard shutdown/restart notification system.

@return nothing

Synopsis

RestartServer( countdown, reason )

Arguments

number countdown

Time in seconds before the server restarts..

Valid numbers: integers from 0 to 4,294,967,295.

string reason

Optional reason displayed to players..

Returns

Nothing.

Generated on
©2016 - Eluna Lua Engine