2
0
Fork 0
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:
in0finite 2019-07-07 17:43:57 +02:00
parent 78c5263c72
commit 64f30f6063
2 changed files with 13 additions and 10 deletions
Assets/Scripts/Behaviours/Ped/States
Docs

View file

@ -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;
}
}

View file

@ -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