Garry's Mod Wiki

Revision Difference

ai.GetScheduleID#514010

<function name="GetScheduleID" parent="ai" type="libraryfunc">⤶ <description>Translates a schedule name to its corresponding ID.</description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="sched" type="string">Then schedule name. In most cases, this will be the same as the &lt;page&gt;SCHED&lt;/page&gt; name.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="number">The schedule ID, see <page>SCHED</page>. Returns -1 if the schedule name isn't valid.</ret>⤶ </rets>⤶ </function>⤶ ⤶