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,
int msgType=MSG_BROADCAST, edict_t* dest=NULL)
{
MESSAGE_BEGIN(msgType, SVC_TEMPENTITY, dest);
WRITE_BYTE(TE_KILLBEAM);
WRITE_SHORT(target->entindex());
MESSAGE_END();
}