From 4a998a2cd0cada5248cd0074a40d0a27a57744d3 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Sun, 6 Mar 2022 16:50:35 +0000 Subject: [PATCH] Tweak (ESX skin) : Change Rotation Keys and menu postiton --- [esx]/esx_skin/client/main.lua | 6 +++--- [esx]/esx_skin/locales/en.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[esx]/esx_skin/client/main.lua b/[esx]/esx_skin/client/main.lua index f8204516..180edc72 100644 --- a/[esx]/esx_skin/client/main.lua +++ b/[esx]/esx_skin/client/main.lua @@ -65,7 +65,7 @@ function OpenMenu(submitCb, cancelCb, restrict) ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'skin', { title = _U('skin_menu'), - align = 'top-left', + align = 'bottom-left', elements = elements }, function(data, menu) TriggerEvent('skinchanger:getSkin', function(skin) lastSkin = skin end) @@ -205,9 +205,9 @@ CreateThread(function() if isCameraActive then sleep = 0 - if IsControlPressed(0, 108) then + if IsControlPressed(0, 209) then angle = angle - 1 - elseif IsControlPressed(0, 109) then + elseif IsControlPressed(0, 19) then angle = angle + 1 end diff --git a/[esx]/esx_skin/locales/en.lua b/[esx]/esx_skin/locales/en.lua index f1ee073e..79fa6974 100644 --- a/[esx]/esx_skin/locales/en.lua +++ b/[esx]/esx_skin/locales/en.lua @@ -1,6 +1,6 @@ Locales['en'] = { ['skin_menu'] = 'Skin Menu', - ['use_rotate_view'] = 'use ~INPUT_VEH_FLY_ROLL_LEFT_ONLY~ and ~INPUT_VEH_FLY_ROLL_RIGHT_ONLY~ to rotate the view.', + ['use_rotate_view'] = 'use ~INPUT_FRONTEND_LS~ and ~INPUT_CHARACTER_WHEEL~ to rotate the view.', ['skin'] = 'change skin', ['saveskin'] = 'save skin to a file', }