Scripting/Server/Classes/Timer/Delete

Cancel and free the timer slot.

Syntax

timer.Delete()

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "delete" )
	{
		// timer is a timer handle (see Timer)
		timer.Delete();
	}
}

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

Section: Timer

Categories: Server methods | Timer