Difference between revisions of "TE GUNSHOT"
Jump to navigation
Jump to search
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...") |
(No difference)
|
Latest revision as of 19:22, 7 July 2025
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();
}
