WiLDTuRTLE
Member
- Joined
- Feb 26, 2011
- Messages
- 478
- Reaction score
- 5
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2160 and item.type == 100 then
doSendAnimatedText(frompos,"$$$$",30);
doRemoveItem(item.uid,item.type)
doPlayerAddItem(cid,7632,1)
elseif item.itemid == 2160 and item.type < 100 then
doSendAnimatedText(frompos,"$$",30);
doRemoveItem(item.uid,1)
doPlayerAddItem(cid,2152,100)
end
end
Whats wrong in it? when i got 100 cc it works like if i had 1cc , it goes into platinum
thanks for the answers
if item.itemid == 2160 and item.type == 100 then
doSendAnimatedText(frompos,"$$$$",30);
doRemoveItem(item.uid,item.type)
doPlayerAddItem(cid,7632,1)
elseif item.itemid == 2160 and item.type < 100 then
doSendAnimatedText(frompos,"$$",30);
doRemoveItem(item.uid,1)
doPlayerAddItem(cid,2152,100)
end
end
Whats wrong in it? when i got 100 cc it works like if i had 1cc , it goes into platinum
thanks for the answers