Garry's Mod Wiki

ai.GetScheduleID

Description

Translates a schedule name to its corresponding ID.

Arguments

1 string sched
Then schedule name. In most cases, this will be the same as the Enums/SCHED name.

Returns

1 number
The schedule ID, see Enums/SCHED. Returns -1 if the schedule name isn't valid.

Page Links


Special Pages


Wikis

?

Render Time: 28ms

Session 0
DB GetPage 2
Generate Html 4
SaveChanges 8
Render Body 0
Render Sidebar 11