From 5c390d2be1a6f3a63c339a4ad59d30089cab6f19 Mon Sep 17 00:00:00 2001 From: in0finite Date: Fri, 26 Apr 2019 23:39:33 +0200 Subject: [PATCH] Don't assign syncvars in hooks --- Assets/Scripts/Behaviours/Ped/Ped_Networking.cs | 4 ++-- Docs/Multiplayer.md | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Behaviours/Ped/Ped_Networking.cs b/Assets/Scripts/Behaviours/Ped/Ped_Networking.cs index eff8a8a4..dd35ee9b 100644 --- a/Assets/Scripts/Behaviours/Ped/Ped_Networking.cs +++ b/Assets/Scripts/Behaviours/Ped/Ped_Networking.cs @@ -56,7 +56,7 @@ namespace SanAndreasUnity.Behaviours if (this.isServer) return; - m_net_pedId = newId; + //m_net_pedId = newId; F.RunExceptionSafe( () => this.PlayerModel.Load(newId) ); } @@ -68,7 +68,7 @@ namespace SanAndreasUnity.Behaviours if (this.isServer) return; - m_net_state = newStateName; + //m_net_state = newStateName; // forcefully change the state diff --git a/Docs/Multiplayer.md b/Docs/Multiplayer.md index 7e9900ad..40d74c4a 100644 --- a/Docs/Multiplayer.md +++ b/Docs/Multiplayer.md @@ -6,6 +6,10 @@ - order of buttons in main menu +- send input to server + +- make console available in main menu + # Potential problems