mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-03-05 07:37:17 +00:00
only on server
This commit is contained in:
parent
78c5263c72
commit
64f30f6063
2 changed files with 13 additions and 10 deletions
|
@ -30,14 +30,17 @@ namespace SanAndreasUnity.Behaviours.Peds.States
|
|||
return;
|
||||
|
||||
|
||||
if (this.SwitchToNonAimMovementState ())
|
||||
return;
|
||||
if (this.SwitchToFiringState ())
|
||||
return;
|
||||
if (this.SwitchToOtherAimMovementState ())
|
||||
return;
|
||||
if (this.SwitchToFallingState ())
|
||||
return;
|
||||
if (m_isServer)
|
||||
{
|
||||
if (this.SwitchToNonAimMovementState ())
|
||||
return;
|
||||
if (this.SwitchToFiringState ())
|
||||
return;
|
||||
if (this.SwitchToOtherAimMovementState ())
|
||||
return;
|
||||
if (this.SwitchToFallingState ())
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
- port the whole UI to multiplayer
|
||||
|
||||
|
||||
- when (un)hiding weapons, you can't disable their game object
|
||||
|
||||
- add option to remove current weapon - for testing
|
||||
|
||||
- send aim/fire input to server
|
||||
|
||||
|
||||
- **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