Garry's Mod Wiki

Garry's Mod Wiki

  number ai.GetScheduleID( string sched )

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 SCHED enum name.

Returns

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...