change_task

Syntax

native change_task(id = 0, Float:newTime = 1.0, outside = 0);

Usage

id
Task id to search for
newTime
New time interval to set
outside
Will affect tasks set by other plugins if nonzero

Description

Modifies the time interval of all tasks with the specified id.

Return

Number of affected tasks