Has the following format:
gi.WriteByte (svc_muzzleflash);
gi.WriteShort (ent-g_edicts);
gi.WriteByte (MZ_BFG | is_silenced);
gi.multicast (ent->s.origin, MULTICAST_PVS);
Note that the server sends the memory offset in the edicts array.
|
Name |
Notes |
|
MZ_BLASTER |
|
|
MZ_MACHINEGUN |
|
|
MZ_SHOTGUN |
|
|
MZ_CHAINGUN1 |
|
|
MZ_CHAINGUN2 |
|
|
MZ_CHAINGUN3 |
|
|
MZ_RAILGUN |
|
|
MZ_ROCKET |
|
|
MZ_GRENADE |
|
|
MZ_LOGIN |
|
|
MZ_LOGOUT |
|
|
MZ_RESPAWN |
|
|
MZ_BFG |
|
|
MZ_SSHOTGUN |
|
|
MZ_HYPERBLASTER |
|
|
MZ_ITEMRESPAWN |
|
|
MZ_BOOMERGUN |
|
|
MZ_SILENCED |
Bit ORed with other flash types |