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