#include "ent_cs.qh"
-#include "mutators/gamemode_ca.qh"
-
float entcs_customize()
{
SELFPARAM();
bool entcs_send(entity this, entity to, int sf)
{
- WriteByte(MSG_ENTITY, ENT_CLIENT_ENTCS);
+ WriteHeader(MSG_ENTITY, ENT_CLIENT_ENTCS);
WriteByte(MSG_ENTITY, sf);
if(sf & BIT(0))
WriteByte(MSG_ENTITY, num_for_edict(self.owner) - 1);
entity attach_entcs(entity e)
{
entity ent = e.entcs = new(entcs_sender);
+ make_pure(ent);
ent.owner = e;
ent.think = entcs_think;
ent.nextthink = time;