Tweak (ESX skin) : Change Rotation Keys and menu postiton

This commit is contained in:
Mycroft
2022-03-06 16:50:35 +00:00
parent bb745039b6
commit 4a998a2cd0
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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
+1 -1
View File
@@ -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',
}