Toribash
Original Post
Second Timers
Syntax: add_timeout(func,parameter,seconds,active)
There can only be 1 parameter at the moment.

Demo Timer.
--Demo Timeout
dofile("Timer.lua")
function Moo(M)
    echo(M)
    timeouts[1].Active = 0
end

add_timeout(Moo, "Moo", 1.25,1)
Last edited by Blam; Mar 29, 2008 at 11:26 AM.
:D