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: 68ms

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