• 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!

Global Event Help

Aarthec

w0000t
Joined
Apr 25, 2009
Messages
129
Reaction score
0
Location
Sweden
What function should I have to use the global event timer system?

globalevents.xml
<globalevent name="LMS" time="18:00" event="script" value="LMS.lua"/>

LMS.lua
function onThink(interval, lastExecution, thinkInterval)

That's what I have right now and that just gives me
this error in the console when I'm loading it.
[06/09/2009 15:06:35] [Warning - Event::loadScript] Event onTimer not found (data/globalevents/scripts/LMS.lua)

So what's the right function? oO
 
Back
Top Bottom