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

little problem with addEvent function

Darqneez

ShaC-Ohhhh
Joined
Dec 30, 2009
Messages
72
Reaction score
2
Location
Poland/Wroclaw
Hey, what's wrong in this line in my creaturescript script?
Lua:
addEvent(setGlobalStorageValue, 10 * 1000,deathlist[1],20001,(getGlobalStorageValue(20001))-9)
it doesnt return any errors but it just doesnt work.
 
setglobalstorage have 2 parameters: key and value, and you here have 3 of them
@down: ;o, how thats possible
if I'm not wrong in 0.4a1
Code:
//doSetStorage(key, value)
is the same as 0.3.6 doSetGlobalStorageValue

from otserv:
Code:
//setGlobalStorageValue(valueid, newvalue)
and addEvent have (functionName, time[,parameters]) sytnax, so he have 1 param too much

and if it is right tell me whats wrong
 
Last edited:
Back
Top