TE KILLBEAM
Revision as of 12:40, 14 April 2025 by Outerbeast (talk | contribs) (Created page with "Kills all beams attached to the target entity. <pre> void te_killbeam(CBaseEntity@ target, NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null) { NetworkMessage m(m...")
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