task_exists

Syntax

native task_exists(id = 0, outside = 0);

Usage

id
Task id to search for
outside
Search for tasks set by other plugins if nonzero

Description

Returns if a task with the specified id exists.

Return

1 if a task was found, 0 otherwise