Scripting/Server/Classes/Timer/Delete
Cancel and free the timer slot.
Contents
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.
Related pages
Section: Timer
Categories: Server methods | Timer