TE GUNSHOT
Revision as of 20:22, 7 July 2025 by Outerbeast (talk | contribs) (Created page with "frame|TE_GUNSHOT Small group of gray dots with a ricochet sound. <code>Vector pos</code> is the center point for the effect. <pre> void te_gunshot(Vect...")
Small group of gray dots with a ricochet sound.
Vector pos
is the center point for the effect.
void te_gunshot(Vector pos, NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null) { NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest); m.WriteByte(TE_GUNSHOT); m.WriteCoord(pos.x); m.WriteCoord(pos.y); m.WriteCoord(pos.z); m.End(); }