StormRusher
New Member
- Joined
- Dec 23, 2009
- Messages
- 138
- Reaction score
- 0
Well i am having problems with an globalEvent script:
this part isnt working, it just cannot get the value or some like that, cause it dont set the variables.. when i remove the condition ("if get~~") works
I dont understand, i have another globalevent script, which check global values and execute an action, and works
the global value exists, if i return it in another script, works....
hope someone know whats happening
thanks
Lua:
function onThink(interval, lastExecution, thinkInterval)
if getGlobalStorageValue(10) == 0 then
local mapaAberto = 0
local estado = 0
local i = 0
end
~~ rest of script
this part isnt working, it just cannot get the value or some like that, cause it dont set the variables.. when i remove the condition ("if get~~") works
I dont understand, i have another globalevent script, which check global values and execute an action, and works
the global value exists, if i return it in another script, works....
hope someone know whats happening
thanks
Last edited: