self.healthvalue = ReadShort();\r
if(sf & 16)\r
self.armorvalue = ReadShort();\r
- if(sf & 32)\r
- self.predator = ReadByte();\r
\r
entcs_receiver[self.sv_entnum] = self;\r
self.entremove = Ent_RemoveEntCS;\r
if(ent.sv_entnum == player_localentnum && !cvar("chase_active"))
return;
- if(ent.predator) // don't show names for prey
- return;
-
float sameteam;
if(teamplay && (GetPlayerColor(player_localentnum - 1) == GetPlayerColor(ent.sv_entnum - 1)))
sameteam = TRUE;
{
e.healthvalue = entcs.healthvalue;
e.armorvalue = entcs.armorvalue;
- e.predator = entcs.predator;
}
else
{
e.healthvalue = 2342;
e.armorvalue = 0;
- e.predator = 0;
}
e.origin = getplayerorigin(i);
.float healthvalue;
.float armorvalue;
-.float predator;
return FALSE;\r
if(other == o)\r
return FALSE;\r
+ if(o.stat_eaten)\r
+ return FALSE;\r
return TRUE;\r
}\r
\r
WriteShort(MSG_ENTITY, self.health);\r
if(sf & 16)\r
WriteShort(MSG_ENTITY, self.armorvalue);\r
- if(sf & 32)\r
- WriteByte(MSG_ENTITY, num_for_edict(self.predator));\r
return TRUE;\r
};\r
\r
self.armorvalue = o.armorvalue;\r
self.SendFlags |= 16;\r
}\r
- if(o.predator != self.predator)\r
- {\r
- self.predator = o.predator;\r
- self.SendFlags |= 32;\r
- }\r
};\r
\r
entity attach_entcs()\r