Scripting/Server/Classes/Timer/Stop
Pause and resume.
Contents
Syntax
timer.Stop()timer.Start()Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "stop" )
{
// timer is a timer handle (see Timer)
timer.Stop();
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: Timer
Categories: Server methods | Timer