}
void cpicon_draw()
-{
+{SELFPARAM();
if(time < self.move_time) { return; }
if(self.cp_bob_dmg_z > 0)
}
void cpicon_damage(float hp)
-{
+{SELFPARAM();
if(!self.iscaptured) { return; }
if(hp < self.max_health * 0.25)
}
void cpicon_construct()
-{
+{SELFPARAM();
self.netname = "Control Point Icon";
setmodel(self, "models/onslaught/controlpoint_icon.md3");
.vector glowmod;
void cpicon_changeteam()
-{
+{SELFPARAM();
if(self.team)
{
self.glowmod = Team_ColorRGB(self.team - 1);
}
void ent_cpicon()
-{
+{SELFPARAM();
int sf = ReadByte();
if(sf & CPSF_SETUP)