diff --git a/ESXSpectateControl.Client/Script/MainScript.cs b/ESXSpectateControl.Client/Script/MainScript.cs index cbd2870..586d3ef 100644 --- a/ESXSpectateControl.Client/Script/MainScript.cs +++ b/ESXSpectateControl.Client/Script/MainScript.cs @@ -43,6 +43,12 @@ private static async Task MainTick() Game.EnableControlThisFrame(0, Control.PushToTalk); Game.EnableControlThisFrame(1, Control.PushToTalk); Game.EnableControlThisFrame(2, Control.PushToTalk); + Game.EnableControlThisFrame(0, Control.LookLeftRight); + Game.EnableControlThisFrame(1, Control.LookLeftRight); + Game.EnableControlThisFrame(2, Control.LookLeftRight); + Game.EnableControlThisFrame(0, Control.LookUpDown); + Game.EnableControlThisFrame(1, Control.LookUpDown); + Game.EnableControlThisFrame(2, Control.LookUpDown); Notifications.DrawText(0.35f, 0.7f, $"GodMode: {(ped.IsInvincible ? $"~r~{ClientMain.Texts["Enabled"]}~w~." : $"~g~{ClientMain.Texts["Disabled"]}~w~")}"); if (!ped.IsInVehicle()) @@ -90,7 +96,6 @@ private static async Task MainTick() pos.Y += 0.024f; } } - } } }