Posted by member 321598 on 2006-07-20 21:18:15
What's the syntax for timer.pause?
I'm reading the manual and according to it, I'm suppose to just call it with the amount of time I want to pause ie timer.pause(2000)
but running the following code inside the lslua.init() stops after the pause and never resumes
I just want a simple pause for 3 seconds.
I'm reading the manual and according to it, I'm suppose to just call it with the amount of time I want to pause ie timer.pause(2000)
but running the following code inside the lslua.init() stops after the pause and never resumes
require 'timer'
lslua.message_box('asdwasdf')
timer.pause(3000)
lslua.message_box('wasdf')
lslua.message_box('asdwasdf')
timer.pause(3000)
lslua.message_box('wasdf')
I just want a simple pause for 3 seconds.