Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 131ms

DB GetPage 14
Generate Html 3
SaveChanges (1) 103
Render Body 0
Render Sidebar 8