bpm91
Intermediate OT User
- Joined
- May 23, 2019
- Messages
- 931
- Solutions
- 7
- Reaction score
- 128
- Location
- Brazil
- YouTube
- caruniawikibr
the script works 100% but I don't know how to remove this error
could anyone tell me how to fix this?
could anyone tell me how to fix this?
Lua:
function ChangeBack(cid)
doTransformItem(getThingfromPos({x=32478, y=31902, z=7, stackpos=1}).uid, 1304)
end
function onStepIn(cid, item, pos)
if item.actionid == 8008 and getThingfromPos({x=32478, y=31906, z=7, stackpos=1}).itemid == 2782 and getThingfromPos({x=32478, y=31902, z=7, stackpos=1}).itemid == 1304 then
addEvent(ChangeBack, 45000, cid)
doTransformItem(getThingfromPos({x=32478, y=31902, z=7, stackpos=1}).uid, 1385)
else
doPlayerSendCancel(cid," ")
end
return 1
end