-
Notifications
You must be signed in to change notification settings - Fork 4
TE_KILLBEAM
GeckoN edited this page Jan 31, 2017
·
3 revisions
Kills all beams attached to the target entity.
Type | Name | Description |
---|---|---|
CBaseEntity@ | target | Entity to remove beams from |
No API function exists as of SC 5.02
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();
}