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

doItemSetAttribute

GarQet

Own3d!
Joined
Feb 10, 2009
Messages
1,381
Solutions
14
Reaction score
81
What is wrong?
LUA:
local pozycja = getCreaturePosition(cid)
local check = {x = pozycja.x, y = pozycja.y, z = pozycja.z, stackpos = STACKPOS_FIRST_ITEM_ABOVE_GROUNDTIL}
local atr = getThingFromPos(check)
doSetItemAttribute(atr.uid, "aid", 20001)
Error:
Code:
[11:24:38.581] [Error - TalkAction Interface]
[11:24:38.581] data/talkactions/scripts/iksde.lua:onSay
[11:24:38.581] Description:
[11:24:38.581] data/talkactions/scripts/iksde.lua:67: attempt to call global 'doSetItemAttribute' (a nil value)
[11:24:38.581] stack traceback:
[11:24:38.581] data/talkactions/scripts/iksde.lua:67: in function <data/talkactions/scripts/iksde.lua:1>
 
Back
Top