diff --git a/RageCoop.Client/Main.cs b/RageCoop.Client/Main.cs index d13d9c4..e9f3ef0 100644 --- a/RageCoop.Client/Main.cs +++ b/RageCoop.Client/Main.cs @@ -317,6 +317,7 @@ namespace RageCoop.Client PlayerList.Cleanup(); LocalPlayerID=default; WorldThread.Traffic(!Settings.DisableTraffic); + Function.Call(Hash.SET_ENABLE_VEHICLE_SLIPSTREAMING, false); } private static void DoQueuedActions() { diff --git a/RageCoop.Client/Networking/Receive.cs b/RageCoop.Client/Networking/Receive.cs index 6932fc3..0519aee 100644 --- a/RageCoop.Client/Networking/Receive.cs +++ b/RageCoop.Client/Networking/Receive.cs @@ -5,6 +5,7 @@ using RageCoop.Core; using System; using System.Collections.Generic; using System.Threading; +using GTA.Native; namespace RageCoop.Client { @@ -76,6 +77,7 @@ namespace RageCoop.Client Main.QueueAction(() => { WorldThread.Traffic(!Main.Settings.DisableTraffic); + Function.Call(Hash.SET_ENABLE_VEHICLE_SLIPSTREAMING, true); CoopMenu.ConnectedMenuSetting(); Main.MainChat.Init(); if (Main.Settings.Voice && !Voice.WasInitialized())