mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-17 05:18:27 +00:00
fire only on server
This commit is contained in:
parent
49eaf4140f
commit
b1acdecd20
2 changed files with 5 additions and 0 deletions
|
@ -418,6 +418,9 @@ namespace SanAndreasUnity.Behaviours.Peds.States
|
||||||
var weapon = ped.CurrentWeapon;
|
var weapon = ped.CurrentWeapon;
|
||||||
|
|
||||||
|
|
||||||
|
if (!m_isServer)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (ped.IsFiring)
|
if (ped.IsFiring)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
- send aim/fire input to server
|
- 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
|
- **vehicle is bumping on clients** - disable (or destroy) wheel colliders, and sync them - this should not be done on local player, see below
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue