Ir para conteúdo

eullergm

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Curtir
    eullergm deu reputação a Biroskak4 em Vocation Quest   
    Tem sim, amigo. Acabei de criar:
    function onUse(cid, item, frompos, item2, topos) -- 5 = MasterSorc, 6 = ElderDruid, 7 = RoyalPally, 8 = EliteKina -- local t = {[1] = {newvoc = 5, stor = 15161}, [2] = {newvoc = 6, stor = 15162}, [3] = {newvoc = 7, stor = 15163}, [4] = {newvoc = 8, stor = 15164}} local voc = t[getPlayerVocation(cid)] if item.uid == 15157 then if voc then if getPlayerStorageValue(cid, voc.stor) == -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'Você foi promovido!') doPlayerSetVocation(cid, voc.newvoc) doSendMagicEffect(getPlayerPosition(cid), 49) setPlayerStorageValue(cid, voc.stor, 1) else doPlayerSendCancel(cid, "Você já fez essa quest.") end end return TRUE end end

Informação Importante

Confirmação de Termo