mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Implemented paying with bank balance, cleanup
This commit is contained in:
+2
-2
@@ -36,7 +36,7 @@ function ShowBillsMenu()
|
||||
'default', GetCurrentResourceName(), 'billing',
|
||||
{
|
||||
title = _U('invoices'),
|
||||
align = 'bottom-right',
|
||||
align = 'bottom-right',
|
||||
elements = elements
|
||||
},
|
||||
function(data, menu)
|
||||
@@ -63,7 +63,7 @@ end
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(10)
|
||||
if IsControlJustReleased(0, Keys["F7"]) and not isDead and not ESX.UI.Menu.IsOpen('default', GetCurrentResourceName(), 'billing') then
|
||||
if IsControlJustReleased(0, Keys['F7']) and not isDead and not ESX.UI.Menu.IsOpen('default', GetCurrentResourceName(), 'billing') then
|
||||
ShowBillsMenu()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user