I have auto targeting for several players and is it possible to disable auto targeting from the player who has entered the pz?
My script:
My script:
Lua:
macro(50, "Multi Re", function()
local pos_n = player:getPosition()
if not g_game.isAttacking() or not storage.target then
if getCreatureByName(storage.Na) then
g_game.attack(getCreatureByName(storage.Na))
end
end
end)
addLabel("targettext", "Player Name: ")
addTextEdit("followleader", storage.Na or "player name", function(widget, text)
storage.Na= text
end)