_Aion_
Nothing Else
Hello, is anyone able to put the guild attack in ARENA
I've tried to not getTileInfo (getThingPos (cid)). pvp and did not work
here the script
I want it to attack guild members only in ARENA, with a script like that, can not attack anywhere
I've tried to not getTileInfo (getThingPos (cid)). pvp and did not work
here the script
Code:
function onCombat(cid, target)
if isPlayer(target) and getPlayerGuildId(cid) ~= 0 and getPlayerGuildId(cid) == getPlayerGuildId(target) then
doPlayerSendCancel(cid, "Não pode atacar players da mesma guild.")
return false
end
return true
end
Last edited: