Hi, is there any function you can use to tell whether the player is selected as a target?
in this case enemy has to have their own ID, but I need to check if player has been targeted by anyone (other players & monsters), not just one particular creature
tfs 1.0
LUA:
if enemy:isTarget(Player(cid)) then
enemy:removeTarget(Player(cid))
end
in this case enemy has to have their own ID, but I need to check if player has been targeted by anyone (other players & monsters), not just one particular creature
tfs 1.0