Add slipstreaming
This commit is contained in:
@ -317,6 +317,7 @@ namespace RageCoop.Client
|
|||||||
PlayerList.Cleanup();
|
PlayerList.Cleanup();
|
||||||
LocalPlayerID=default;
|
LocalPlayerID=default;
|
||||||
WorldThread.Traffic(!Settings.DisableTraffic);
|
WorldThread.Traffic(!Settings.DisableTraffic);
|
||||||
|
Function.Call(Hash.SET_ENABLE_VEHICLE_SLIPSTREAMING, false);
|
||||||
}
|
}
|
||||||
private static void DoQueuedActions()
|
private static void DoQueuedActions()
|
||||||
{
|
{
|
||||||
|
@ -5,6 +5,7 @@ using RageCoop.Core;
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
using GTA.Native;
|
||||||
|
|
||||||
namespace RageCoop.Client
|
namespace RageCoop.Client
|
||||||
{
|
{
|
||||||
@ -76,6 +77,7 @@ namespace RageCoop.Client
|
|||||||
Main.QueueAction(() =>
|
Main.QueueAction(() =>
|
||||||
{
|
{
|
||||||
WorldThread.Traffic(!Main.Settings.DisableTraffic);
|
WorldThread.Traffic(!Main.Settings.DisableTraffic);
|
||||||
|
Function.Call(Hash.SET_ENABLE_VEHICLE_SLIPSTREAMING, true);
|
||||||
CoopMenu.ConnectedMenuSetting();
|
CoopMenu.ConnectedMenuSetting();
|
||||||
Main.MainChat.Init();
|
Main.MainChat.Init();
|
||||||
if (Main.Settings.Voice && !Voice.WasInitialized())
|
if (Main.Settings.Voice && !Voice.WasInitialized())
|
||||||
|
Reference in New Issue
Block a user