function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerPremiumDays(cid) > 0 then
doRemoveItem(item.uid, 1)
doSendMagicEffect(fromPosition, CONST_ME_FIREWORK_RED)
doPlayerSetPromotionLevel(cid, 2)
doPlayerSave(cid)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'Congratulations! You have been promoted to '.. getPlayerVocationName(cid)..'!!')
else
doPlayerSendCancel(cid,"You need a premuim account to use this")
end
local pos = getThingPos(cid)
for i = 1, 15 do
doSendDistanceShoot({x = pos.x + math.random(-4, 4), y = pos.y + math.random(-4, 4), z = pos.z}, pos, CONST_ANI_SMALLHOLY)
end
return true
end