TE KILLBEAM
Jump to navigation
Jump to search
Kills all beams attached to the target entity.
void te_killbeam(CBaseEntity@ target, NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null)
{
NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest);
m.WriteByte(TE_KILLBEAM);
m.WriteShort(target.entindex());
m.End();
}
CBaseEntity@ target Entity to remove beams from