it.sameteam = false;
}
bool dead = entcs_IsDead(i) || entcs_IsSpectating(i);
- if(gametype == MAPINFO_TYPE_CA)
- dead = (dead || entcs_IsEliminated(i));
if (!it.csqcmodel_isdead) setorigin(it, entcs.origin);
it.csqcmodel_isdead = dead;
Draw_ShowNames(it);
entity player = this.owner;
sf |= BIT(0); // assume private
do {
+ if (!(IS_PLAYER(player)))
+ {
+ sf &= ENTCS_PUBLICMASK; // no private updates
+ break;
+ }
if (radar_showennemies) break;
if (SAME_TEAM(to, player)) break;
if (!(IS_PLAYER(to) || to.caplayer) && time > game_starttime) break;
/**
* @param i zero indexed player
- */
- .int frags;
- bool entcs_IsEliminated(int i)
- {
- bool unconnected = !playerslots[i].gotscores;
- entity e = entcs_receiver(i);
- return unconnected || ((e) ? e.frags : stof(getplayerkeyvalue(i, "frags"))) == FRAGS_LMS_LOSER;
- }
-
- /**
- * @param i zero indexed player
*/
int entcs_GetClientColors(int i)
{