• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Need Support ADDEVENT

nevix

Tunzodus.net
Joined
Mar 31, 2010
Messages
356
Reaction score
62
Location
Lithuanian
I'm learning LUA, so i have question.

I'm using 1.0 distro. so this is my question:

How function addevent works?

I'm trying do this but nothing

addevent(test, 10*1000) but i got error
 
Here is example usage of addEvent(callback, delay in milliseconds, parameters...)
Code:
addEvent(function(param)
    print('This text is delayed by 5 seconds.')
    print(param)
end, 5 * 1000, 'Here is example text!')
 
Back
Top