Hi guys,
I'm trying to write a real simple global event but am getting an error message though the script is still running successfully.
As always, any help is greatly appreciated
<globalevent name="testglobal" interval="10000" script="testglobal.lua"/>
Console output:
I'm trying to write a real simple global event but am getting an error message though the script is still running successfully.
As always, any help is greatly appreciated
<globalevent name="testglobal" interval="10000" script="testglobal.lua"/>
Code:
local function debugTwo()
print("script is STILL running")
end
function onThink(interval)
print("script is running")
addEvent(debugTwo, 5000)
end
Console output:
Code:
script is running
[Error - GlobalEvents::think] Failed to execute event: testglobal
script is STILL running