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

[GlobalEvent] getGlobalStorageValue (solved lol O.o)

StormRusher

New Member
Joined
Dec 23, 2009
Messages
138
Reaction score
0
Well i am having problems with an globalEvent script:

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 o_O

the global value exists, if i return it in another script, works....

hope someone know whats happening

thanks
 
Last edited:
Back
Top