\r
void Ent_ReadPortrait()\r
{\r
- string s;\r
+ string s, n;\r
s = ReadString();\r
+ n = ReadString();\r
\r
dprint(strcat(s, " --------\n"));\r
+ dprint(strcat(n, " --------\n"));\r
}\r
.float power_sounded;\r
void PlayerPreThink (void)\r
{\r
- portrait(self, self); // TEMPORARY TEST\r
-\r
self.stat_game_starttime = game_starttime;\r
self.stat_allow_oldnexbeam = cvar("g_allow_oldnexbeam");\r
self.stat_leadlimit = cvar("leadlimit");\r
\r
void Damage (entity targ, entity inflictor, entity attacker, float damage, float deathtype, vector hitloc, vector force)\r
{\r
+ portrait(attacker, attacker); // TEMPORARY TEST\r
+\r
float mirrordamage;\r
float mirrorforce;\r
float teamdamage0;\r
s = strcat(s, "-", ftos(self.skin));\r
\r
WriteString(MSG_ENTITY, s);\r
+ WriteString(MSG_ENTITY, self.netname);\r
\r
return TRUE;\r
}\r
e.classname = "portrait";\r
setmodel(e, pl.model);\r
e.skin = pl.skin;\r
+ e.netname = pl.netname;\r
e.owner = targ;\r
\r
Net_LinkEntity(e, FALSE, 0.1, portrait_SendEntity);\r