ai.GetScheduleID

From Garry's Mod
Jump to: navigation, search
 ai.GetScheduleID( )

Description

Translates a schedule name to its corresponding ID.

Arguments

string sched

Then schedule name. In most cases, this will be the same as the SCHED_ Enums name.

Returns

number

The schedule ID, see SCHED_ Enums. Returns -1 if the schedule name isn't valid.
Personal tools
Navigation