Garry's Mod Wiki

Schedule:AddTaskEx

Schedule:AddTaskEx( string start, string run, number data )

Description

Adds a task to the schedule with completely custom function names.

See also Schedule:AddTask.

Arguments

1 string start
The full name of a function on the entity's table to be ran when the task is started.
2 string run
The full name of a function on the entity's table to be ran when the task is continuously running.
3 number data
Task data to be passed into the NPC's functions

Page Links


Special Pages


Wikis

?

Render Time: 38ms

Session 0
DB GetPage 4
Generate Html 10
SaveChanges 8
Render Body 0
Render Sidebar 14