function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.uid == 9999 and doPlayerRemoveItem(cid, 4351, 10) == TRUE then
if item.itemid == 1945 then
if getPlayerStorageValue(cid, 11551) < 1 then
doSendAnimatedText(getPlayerPosition(cid), "Welcome!", TEXTCOLOR_RED)
doCreatureSay(cid, "CONGRATULATIONS! You are now a VIP! You can now enter the VIP-area and use unique features!. ", TALKTYPE_ORANGE_1)
setPlayerStorageValue(cid, 11551, 1)
else
doPlayerSendCancel(cid,'You are not a donator.')
end
end
end
return TRUE
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.uid == 9997 and doPlayerRemoveItem(cid, 4351, 2) == TRUE then
if isInArray({1945, 1946}, item.itemid) then
doPlayerSendTextMessage(cid, 22, "You obtained 2 Billion and lost 2 donation coin.")
doPlayerAddExp(cid, 2000000000)
end
doTransformItem(item.uid, (item.itemid == 1945 and 1946 or 1945))
return TRUE
end
end