Garry's Mod Wiki
Description
Adds a task to the schedule. See also Schedule:AddTaskEx if you wish to customize task start and run function names.
See also ENTITY:StartSchedule, NPC:StartEngineTask, and NPC:RunEngineTask.
Arguments
Example
This creates a new schedule with a task named "HelloWorld" that is defined to print the taskdata passed in.
Output: Prints "HELLO" in the console, then prints "HELLO again" on every NPC think until 5 seconds have passed.
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 four times a day. Edits and history are not available.
Last Parsed: Loading...