Just deal with it, this is what OpenTibia consists of these days.Why the hell does it matter what actionid you use? None of your posts make sense, you barely speak English well enough that I get a vague idea of what you're asking, and upon inquiry of what the hell you're trying to say, you babble on and repeat yourself.
So try, as hard as your little peapod possibly can, tell me in a clearly constructed sentence what you want done here.
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,80000) == -1 then
doPlayerAddItem (cid, XXX)
doPlayerSendTextMessage(cid, 12, "You found a <Item Name>")
doPlayerAddStorageValue(cid, 80000)
else
doPlayerSendCancel(cid, "You already got <Item Name>")
end
no have made my items.otb custom@ Tko, if you got proplems with items.otbm while loading so use Cykotitan's .exe!
http://otland.net/788888-post22.html
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,90000) == -1 then
doPlayerAddItem (cid, 132)
doPlayerSendTextMessage(cid, 12, "You found a fag123")
doPlayerSetStorageValue(cid, 90000)
else
doPlayerSendCancel(cid, "You already got the fag")
end
end
function onUse(cid, item, frompos, item2, topos)
-- Desert q 1
if item.uid == 2157 then
queststatus = getPlayerStorageValue(cid,1000)
if queststatus == -1 then
if getPlayerLevel(cid) >= 50 then
doPlayerSendTextMessage(cid,22,"You have found a Gold Nugget.")
doPlayerAddItem(cid,2157,1)
setPlayerStorageValue(cid,1000,1)
else
doPlayerSendTextMessage(cid,22,"You need level 50 to get prize.")
end
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
end
end