forked from baso88/SC_AngelScript
-
Notifications
You must be signed in to change notification settings - Fork 0
TE_KILLPLAYERATTACHMENTS
wootguy edited this page Nov 29, 2025
·
3 revisions
Removes attachments created with TE_PLAYERATTACHMENT from the target player.
| Type | Name | Description |
|---|---|---|
| CBasePlayer@ | target | Player to remove attachements from |
void te_killplayerattachments(CBasePlayer@ plr,
NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null)
{
NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest);
m.WriteByte(TE_KILLPLAYERATTACHMENTS);
m.WriteByte(plr.entindex());
m.End();
}