Garry's Mod Wiki

ai.GetTaskID

ai.GetTaskID

number ai.GetTaskID( string task )

Description

Translates a task name to its corresponding ID.

Arguments

1 string task
The task name.

Returns

1 number
The task ID, see ai_task.h. Returns -1 if the schedule name isn't valid.

Special Pages


Wikis

?

Render Time: 62ms

DB GetPage 45
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 6