From Garry's Mod
Revision as of 21:37, 13 April 2013 by NaN
In the case of a scripted entity, this will cause the entity's next "OnThink" event to be run at the given time.
Does not work clientside!
The timestamp at which the next think should occur.
Prints 'Hello, World!' in console and sleeps for a second.
function ENT:Think() print("Hello, World!") self:NextThink(CurTime() + 1) return true -- Note: You need to return true to override the default next think time end