TE GUNSHOT
Jump to navigation
Jump to search
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();
}
