Hello to everyone on here
Thanks for "Mrozu" and everyone such a good website and everything looks like new and works mostly,
i got so many problems solves by just reading, so curious if someone create script for attacking players by name or target name ? like i want to put a player on target if appears i attack directly by it's name ?
Thanks to everyone
like i target player "PlayerName"
I got hold Target but i need to targetby player_name
local oldTarget
macro(200, "hold target", function()
if g_game.isAttacking() then
oldTarget = g_game.getAttackingCreature()
end
if (oldTarget and not g_game.isAttacking() and getDistanceBetween(pos(), oldTarget:getPosition()) <=
then
g_game.attack(oldTarget)
end
end)