mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Tweak (ESX skin) : Change Rotation Keys and menu postiton
This commit is contained in:
@@ -65,7 +65,7 @@ function OpenMenu(submitCb, cancelCb, restrict)
|
|||||||
|
|
||||||
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'skin', {
|
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'skin', {
|
||||||
title = _U('skin_menu'),
|
title = _U('skin_menu'),
|
||||||
align = 'top-left',
|
align = 'bottom-left',
|
||||||
elements = elements
|
elements = elements
|
||||||
}, function(data, menu)
|
}, function(data, menu)
|
||||||
TriggerEvent('skinchanger:getSkin', function(skin) lastSkin = skin end)
|
TriggerEvent('skinchanger:getSkin', function(skin) lastSkin = skin end)
|
||||||
@@ -205,9 +205,9 @@ CreateThread(function()
|
|||||||
|
|
||||||
if isCameraActive then
|
if isCameraActive then
|
||||||
sleep = 0
|
sleep = 0
|
||||||
if IsControlPressed(0, 108) then
|
if IsControlPressed(0, 209) then
|
||||||
angle = angle - 1
|
angle = angle - 1
|
||||||
elseif IsControlPressed(0, 109) then
|
elseif IsControlPressed(0, 19) then
|
||||||
angle = angle + 1
|
angle = angle + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
Locales['en'] = {
|
Locales['en'] = {
|
||||||
['skin_menu'] = 'Skin Menu',
|
['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',
|
['skin'] = 'change skin',
|
||||||
['saveskin'] = 'save skin to a file',
|
['saveskin'] = 'save skin to a file',
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user