function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerStorageValue(cid,11551) < 1 then
if getPlayerLevel(cid) > 1 then
getPlayerStorageValue(cid, 11551)
doSendAnimatedText(getPlayerPosition(cid), "Bem Vindo!", TEXTCOLOR_RED)
doCreatureSay(cid, "Parabens! Está agora um VIP por 15 dias! Voce agora pode entrar na area VIP! ", TALKTYPE_ORANGE_1)
setPlayerStorageValue(cid, 11551, (getPlayerStorageValue(cid,11551) + 15))
voc = getPlayerVocation(cid)
if queststatus == -1 and voc > 4 and voc < 12 then
doPlayerSetVocation(cid, voc+4)
elseif queststatus == -1 and voc > 22 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "Por Favor, retire sua Elemental weapon para se tornar VIP.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, "Você deve adiquirir promotion antes de se tornar um VIP.")
end
return TRUE
end
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid,"Voce tem de ter no minimo level 2.")
doRemoveItem(item.uid, 1)
end
else
doPlayerSendCancel(cid,"Voce ja eh um Vip.")
end
return TRUE
end