From 1acb731e5c7128170340fef2c238da00fae36cff Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Tue, 13 Jul 2021 00:57:36 -0500 Subject: [PATCH] Remove cam funcs from MexUI input set --- third-party/mexui/mexui.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/third-party/mexui/mexui.js b/third-party/mexui/mexui.js index 7d611241..c9017bf5 100644 --- a/third-party/mexui/mexui.js +++ b/third-party/mexui/mexui.js @@ -287,14 +287,14 @@ mexui.isAnyWindowShown = function() mexui.setInput = function(showInput) { gui.showCursor(showInput, !showInput); - if(gta.game != GAME_GTA_IV) { - if(localPlayer) - { - if(showInput) - gta.setCameraLookAt(new Vec3(gta.cameraMatrix.m41, gta.cameraMatrix.m42, gta.cameraMatrix.m43), localPlayer.position, false); - else - gta.restoreCamera(false); - } - } + //if(gta.game != GAME_GTA_IV) { + // if(localPlayer) + // { + // if(showInput) + // gta.setCameraLookAt(new Vec3(gta.cameraMatrix.m41, gta.cameraMatrix.m42, gta.cameraMatrix.m43), localPlayer.position, false); + // else + // gta.restoreCamera(false); + // } + //} };