if getPlayerItemCount(cid,itemid) >= count then
if getPlayerItemCount(cid,itemid) >= count then
if getPlayerItemCount(cid,itemid >= count then
doPlayerRemoveItem(cid,itemid,count)
doPlayerRemoveItem(cid,itemid,count)
doPlayerRemoveItem(cid,itemid,count)
doPlayerAddItem(cid,item,count)
selfSay('Here you go.')
else
selfSay('You don\'t have the right item.')
end
else
selfSay('You don\'t have the right item.')
end
else
selfSay('You don\'t have the right item.')
end