mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 02:38:53 +00:00
uplate
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@ ESX = nil
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while ESX == nil do
|
||||
Citizen.Wait(5)
|
||||
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
|
||||
Citizen.Wait(0)
|
||||
end
|
||||
|
||||
local GUI, MenuType = {}, 'default'
|
||||
@@ -65,7 +65,7 @@ Citizen.CreateThread(function()
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(10)
|
||||
Citizen.Wait(15)
|
||||
|
||||
if IsControlPressed(0, 18) and IsInputDisabled(0) and (GetGameTimer() - GUI.Time) > 150 then
|
||||
SendNUIMessage({action = 'controlPressed', control = 'ENTER'})
|
||||
|
||||
+1
-3
@@ -19,9 +19,7 @@ files {
|
||||
'html/ui.html',
|
||||
'html/css/app.css',
|
||||
'html/js/mustache.min.js',
|
||||
'html/js/app.js',
|
||||
'html/fonts/pdown.ttf',
|
||||
'html/fonts/bankgothic.ttf'
|
||||
'html/js/app.js'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@
|
||||
}
|
||||
|
||||
.menu .menu-items .menu-item.selected {
|
||||
background-color: rgba(60, 60, 60, 0.95);
|
||||
background-color: rgba(20, 20, 20, 1);
|
||||
border-top: 2px solid #e76767;
|
||||
border-bottom: 2px solid #e76767;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user