Closed Gentil-Boo closed 3 years ago
I've found this in VoiceManager.cs
`private async Task OnControlTick() { Game.DisableControlThisFrame(0, Control.OpenJournal); Game.DisableControlThisFrame(0, Control.PushToTalk); Game.DisableControlThisFrame(0, Control.OpenSatchelMenu);
if (Game.Player.IsAlive) { if (Game.IsControlJustPressed(0, Control.OpenJournal)) { this.ToggleVoiceRange(); } if (this.PrimaryRadioChannel != null) { if (Game.IsControlJustPressed(0, Control.PushToTalk)) BaseScript.TriggerServerEvent(Event.SaltyChat_IsSending, this.PrimaryRadioChannel, true); else if (Game.IsControlJustReleased(0, Control.PushToTalk)) BaseScript.TriggerServerEvent(Event.SaltyChat_IsSending, this.PrimaryRadioChannel, false); } if (this.SecondaryRadioChannel != null) { if (Game.IsControlJustPressed(0, Control.OpenSatchelMenu)) BaseScript.TriggerServerEvent(Event.SaltyChat_IsSending, this.SecondaryRadioChannel, true); else if (Game.IsControlJustReleased(0, Control.OpenSatchelMenu)) BaseScript.TriggerServerEvent(Event.SaltyChat_IsSending, this.SecondaryRadioChannel, false); } } await Task.FromResult(0); }`
I tried to replace Control.OpenSatchelMenu by Control.SpecialAbility, but it's not working
Just rebuild the solution after modify VoiceManager.cs
I've found this in VoiceManager.cs
`private async Task OnControlTick() { Game.DisableControlThisFrame(0, Control.OpenJournal); Game.DisableControlThisFrame(0, Control.PushToTalk); Game.DisableControlThisFrame(0, Control.OpenSatchelMenu);
I tried to replace Control.OpenSatchelMenu by Control.SpecialAbility, but it's not working