Add slipstreaming
This commit is contained in:
@ -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()
|
||||
{
|
||||
|
@ -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())
|
||||
|
Reference in New Issue
Block a user