Ir para conteúdo

renancesarlima

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    Global 11/12x [v32]
     

     
     
    - New Falcons
    - New Asuras
    - Warzone 4,5,6
    - Exercise Training
    - Raids 100%
    - Monstros 100%
    - Trainer Offline 100%
    - Trainer Online 100%
    - Taming system funcionando 100%;
    - Database completa
    - War System 100%
    - Global MAP Full
    - Store 100%
    - Imbuement
    - Prey System
    - Entre outros sistemas.
     
    Projeto no: GITHUB

    Scan Vírus Total
     
    IMAGES
     
    Créditos:
     
     











  2. Gostei
    renancesarlima deu reputação a p e o p l e em (Resolvido)Npc teleportador com diálogo   
    Captain Fuller.lua (data\npc):



     
    hunt.lua (data\npc\scripts):



  3. Gostei
    Em "Data/talkactions/scripts", broadcastPlayer.lua:
    local t = { coolDown = 5, -- Tempo para usar novamente em minutos. storage = 59555, -- Só mexa se necessário. level = 100, -- Level necessário. price = 100000 -- Preço para usar. } function onSay(cid, words, param) local message = getCreatureName(cid) .. " [" .. getPlayerLevel(cid) .. "]: " .. param if param == '' then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Digite sua mensagem.") return true end if getPlayerStorageValue(cid, t.storage) - os.time() >= 1 then doPlayerSendCancel(cid, "Você precisa esperar ".. math.ceil((getPlayerStorageValue(cid, t.storage) - os.time())/60) .." minuto(s) para usar novamente.") return true end if getPlayerLevel(cid) >= t.level then if doPlayerRemoveMoney(cid, t.price) then setPlayerStorageValue(cid, t.storage, t.coolDown * 60 + os.time()) doBroadcastMessage(message, MESSAGE_EVENT_ADVANCE) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Mensagem enviada..") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você precisa de ".. t.price .." gold coins para utilizar este comando.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você precisa ser level ".. t.level .." para utilizar este comando.") end return true end Em "Data/talkactions", no arquivo talkactions.xml:
    <talkaction words="!message" event="script" value="broadcastPlayer.lua"/> Caso dê algum problema, me avise.

Informação Importante

Confirmação de Termo