-
Notifications
You must be signed in to change notification settings - Fork 4
TE_GUNSHOT
GeckoN edited this page Jan 31, 2017
·
4 revisions
Small group of gray dots with a ricochet sound.
Type | Name | Description |
---|---|---|
Vector | pos | Center point for the effect |
No API function exists as of SC 5.02
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();
}