TE KILLPLAYERATTACHMENTS
Jump to navigation
Jump to search
Removes attachments created with TE_PLAYERATTACHMENT from the target player.
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();
}
CBasePlayer@ target Player to remove attachments from