forked from baso88/SC_AngelScript
-
Notifications
You must be signed in to change notification settings - Fork 0
TE_KILLBEAM
wootguy edited this page Nov 29, 2025
·
3 revisions
Kills all beams attached to the target entity.
| Type | Name | Description |
|---|---|---|
| CBaseEntity@ | target | Entity to remove beams from |
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();
}