Ir para conteúdo
Banner com Efeitos

ewertonluiz

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    ewertonluiz deu reputação a Danihcv em Ajuda Com teleport falante   
    Adiciona essa função no 050-function.lua :
    function doSendAnimatedText(pos, value, color, player) if not tonumber(value) then return error("arg #2 in doSendAnimatedText is not a number") end if isPlayer(player) then doPlayerSendTextMessage(player, MESSAGE_EXPERIENCE, "", value, color, pos) else for _, v in ipairs(getSpectators(pos, 7, 5, true)) do if isPlayer(v) then doPlayerSendTextMessage(v, MESSAGE_EXPERIENCE, "", value, color, pos) end end end end ~Escrito por ViitinG
     
     
    Pra pegar em todos os sqm, usa o script do suicide:
    local positions = { ["Treiners"] = {x = 409, y = 805, z = 7}, ["Treiners"] = {x = 344, y = 738, z = 7}, ["Treiners"] = {x = 650, y = 844, z = 7}, ["Treiners"] = {x = 757, y = 826, z = 7}, ["Treiners"] = {x = 1017, y = 709, z = 6}, ["Treiners"] = {x = 1041, y = 560, z = 6}, ["Treiners"] = {x = 800, y = 554, z = 6}, ["Treiners"] = {x = 793, y = 709, z = 7}, ["Treiners"] = {x = 796, y = 428, z = 6}, ["Treiners"] = {x = 790, y = 357, z = 6}, ["Treiners"] = {x = 547, y = 218, z = 7}, ["Treiners"] = {x = 520, y = 182, z = 7} } function onThink(cid, interval, lastExecution) for text, pos in pairs(positions) do doSendMagicEffect(pos, math.random(CONST_ME_DRAWBLOOD, CONST_ME_LAST)) doSendAnimatedText(pos, text, math.random(1, 255)) end return true end Vê se dá certo.
  2. Gostei
    ewertonluiz deu reputação a Danihcv em Ajuda Com teleport falante   
    Não que vá adiantar de alguma coisa, mas vamos testar sem usar as variaveis e sem usar math.random:
    local positions = { ["Treiners"] = {x = 409, y = 805, z = 7}, ["Treiners"] = {x = 344, y = 738, z = 7}, ["Treiners"] = {x = 650, y = 844, z = 7}, ["Treiners"] = {x = 757, y = 826, z = 7}, ["Treiners"] = {x = 1017, y = 709, z = 6}, ["Treiners"] = {x = 1041, y = 560, z = 6}, ["Treiners"] = {x = 800, y = 554, z = 6}, ["Treiners"] = {x = 793, y = 709, z = 7}, ["Treiners"] = {x = 796, y = 428, z = 6}, ["Treiners"] = {x = 790, y = 357, z = 6}, ["Treiners"] = {x = 547, y = 218, z = 7}, ["Treiners"] = {x = 520, y = 182, z = 7} } function onThink(cid, interval, lastExecution) for text, pos in pairs(positions) do doSendMagicEffect({x = 409, y = 805, z = 7}, CONST_ME_DRAWBLOOD) doSendAnimatedText({x = 409, y = 805, z = 7}, "Treiners", 140) end return true end Vá para o tp da posição {x = 409, y = 805, z = 7} e veja se o texto está funcionando lá.

Informação Importante

Confirmação de Termo