No no, what I mean is that you exclude the players who are beneath the betty.
Code:
players = getentarray("player", "classname");
for(i = 0; i < players.size; i++)
{
distance = distance(betty.origin, players[i].origin);
if(distance < 500 && players[i].sessionstate == "playing" && isAlive(players[i]) && players[i].pers["team"] != eAttacker.pers["team"] && players[i] getstance() == "stand")
{
players[i] thread [[level.callbackPlayerDamage]](eAttacker, eAttacker, damage, 1, "MOD_PISTOL_BULLET", "betty_mp", self.vPoint, vDir, "none", 0);
}
}
This is for COD2, but should be almost identical to COD4.
I might have make some mistakes