ziggy46802
Active Member
- Joined
- Aug 19, 2012
- Messages
- 418
- Reaction score
- 27
heres the code
Lua:
function onUse(cid, item, frompos, itemEx, topos)
if getPlayerItemCount(cid, 2087) >= 1 then
doTransformItem(item.uid, item.itemid + 1)
elseif
item.itemid == 5108 and getPlayerItemCount(cid, 2087) >= 1 then
doTransformItem(item.uid, item.itemid - 1
return true
else
doPlayerSendCancel(cid, "You dont have the right key!")
end
end
Last edited: