Renewed-Banking and QB-Management fixes

Renewed-Banking and QB-Management fixes
This commit is contained in:
Andyauk
2023-01-28 14:04:27 +00:00
committed by GitHub
parent 42e3c7d2be
commit 5a849f1028

View File

@@ -108,7 +108,7 @@ RegisterNetEvent('jim-payments:Client:ATM:use', function(data)
--this grabs all the info from names to savings account numbers in the databases
local p = promise.new()
QBCore.Functions.TriggerCallback('jim-payments:ATM:Find', function(cb) p:resolve(cb) end) local info = Citizen.Await(p)
if not Config.Management then
if not Config.RenewedBanking then
local p = promise.new()
QBCore.Functions.TriggerCallback('qb-bossmenu:server:GetAccount', function(cb) p:resolve(cb) end, PlayerJob.name) info.society = Citizen.Await(p)
local p2 = promise.new()