tem como fazer esse script dar sio na party ao inves de ser pelo nome da pessoa?
cycleEvent(function ()
NAME = "FARAMIR" if g_game.isOnline() then local p = g_game.getLocalPlayer() if p:getHealth()/p:getMaxHealth() > 0.7 then for i,v in pairs(g_map.getSpectators(p:getPosition())) do if v:isPlayer() and v:getName() == NAME and v:getHealthPercent() < 85 then g_game.talk("exura sio \"".. NAME) end end end end end, 100)
Eu queria deixar meu bot de druid igual esse aqui, mas não sei como mudar as coisas de lugar e como por o script de sio certo
https://uploaddeimagens.com.br/imagens/G13ZMWw
SE NAO DER PARA EXPLICAR....
QUERIA UM SCRIPT PARA COLOCAR LA NO ICONE "S" IGUAL ESSES AQUI QUE ACHEI DO FARAMIR, mas que seja para dar sio em Party e nao por nome como tem ali no link dele