fire only on server

This commit is contained in:
in0finite 2019-07-07 21:51:30 +02:00
parent 49eaf4140f
commit b1acdecd20
2 changed files with 5 additions and 0 deletions

View file

@ -418,6 +418,9 @@ namespace SanAndreasUnity.Behaviours.Peds.States
var weapon = ped.CurrentWeapon;
if (!m_isServer)
return false;
if (ped.IsFiring)
return false;

View file

@ -21,6 +21,8 @@
- send aim/fire input to server
- weapon sound should be 3d
- **vehicle is bumping on clients** - disable (or destroy) wheel colliders, and sync them - this should not be done on local player, see below