TE KILLPLAYERATTACHMENTS
Revision as of 17:11, 31 May 2025 by Outerbeast (talk | contribs) (Created page with "Removes attachments created with TE_PLAYERATTACHMENT from the target player. <pre> void te_killplayerattachments(CBasePlayer@ plr, NetworkMessageDest msgType=MSG_BROADCA...")
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