function onLogin(cid)
if getPlayerLevel(cid) == 1000 then
doPlayerSendTextMessage(cid, 20, "Por conquistar o level 1000 você recebeu 1 dia de premium account.") return true end
registerCreatureEvent(cid, "AdvancePa")
return true
end
function onAdvance(cid, skill, oldlevel, newlevel)
if getPlayerStorageValue(cid, 12400) >= 1 then return true end
if skill == 8 and newlevel == 1000 then
doPlayerAddPremiumDays(cid, 1)
doPlayerSendTextMessage(cid, 20, "Por conquistar o level 1000 você ganhou 1 dia de Premium Account grátis.")
setPlayerStorageValue(cid, 12400, 1)
end
return true
end