Method 1:
Quote:
SetSimTimeLimitMS
Sets the sim time limit value of this Timer, RELATVE to the start time. This is when the timer is supposed to show that it has 'expired' or reached whatever time limit it is supposed to keep track of.
LeftTillSimTimeLimitMS
Returns how much time in ms that there is left till this Timer reaches a certain time limit previously set by SetSimTimeLimitMS.
however, I donno how to use these function.
Method 2:
If timer:IsPastSimMS(N) and not timer:IsPastSimMS(N+1) then
Method 3:
Code:
local functiondone = 0
If IsPastSimMS(N) and functiondone == 0 then
blahblahblah
functiondone = 1;
end
I haven't validated these yet.
Edit:Abdul Alhazred's is much better.