• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Player in Pz

Sciptter

New Member
Joined
Apr 28, 2020
Messages
2
Reaction score
0
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:
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)
 
Top