if (user.DistTo(Char2) < radius_max)
and not (char2.ismember)
and not (char2.dead)
and not (user.clanid = char2.clanid)
and not ((char2.ClassID = 27) or (char2.ClassID = 103)) // Changed from User to char2
and (char2.pvp) then
begin
// Your code to target char2
end;
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.