Yeah, FX_FireBullets() is for multiplayer, it uses a filter with
UsePredictionRules(), so the shot code is run first on the client,
then on the server. When it's run on the server, it transmits a bullet
to everyone but the person who fired.
The reason player-FireBullet() is doubling tracers is
Some posted about bullet tracers awhile back and I gave them a quick idea
how to fix it.
When testing a map I noticed the the mp5 was firing 2 bullets every time you
quickly pushed the fire button.
So debugging the info it seems the
FireBulletsInfo_t Fire;
Fire.m_iShots = 1;
Fire.m_vecSrc =
2 matches
Mail list logo