\r
WriteByte(MSG_ENTITY, ENT_CLIENT_PORTRAIT);\r
\r
- WriteString(MSG_ENTITY, self.model);\r
- WriteByte(MSG_ENTITY, self.skin);\r
- WriteString(MSG_ENTITY, self.netname);\r
+ WriteString(MSG_ENTITY, self.owner.model);\r
+ WriteByte(MSG_ENTITY, self.owner.skin);\r
+ WriteString(MSG_ENTITY, self.owner.netname);\r
\r
return TRUE;\r
}\r
entity e;\r
e = spawn();\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