Scripting/Server/Functions/SetTimeScale

Real milliseconds per in-game minute (1000 is the normal speed).

Syntax

SetTimeScale(ms)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "settimescale" )
	{
		SetTimeScale( 1000 );
	}
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: World settings

Categories: Server functions | World settings