managment to auto or manual
This commit is contained in:
1 parent
a53995a773
commit
cd7f41b518
4 files changed
+16
-3
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
if GetResourceState('Renewed-Banking') ~= 'started' then return end
|
if GetResourceState('Renewed-Banking') ~= 'started' then return end
|
||||||
Managment = {}
|
Managment = Managment or {}
|
||||||
|
|
||||||
Managment.GetAccountMoney = function(account)
|
Managment.GetAccountMoney = function(account)
|
||||||
return exports['Renewed-Banking']:getAccountMoney(account)
|
return exports['Renewed-Banking']:getAccountMoney(account)
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
Managment = Managment or {}
|
||||||
|
|
||||||
|
Managment.GetAccountMoney = function(account)
|
||||||
|
return false, print("The resource you are using does not support this function.")
|
||||||
|
end
|
||||||
|
|
||||||
|
Managment.AddAccountMoney = function(account, amount)
|
||||||
|
return false, print("The resource you are using does not support this function.")
|
||||||
|
end
|
||||||
|
|
||||||
|
Managment.RemoveAccountMoney = function(account, amount)
|
||||||
|
return false, print("The resource you are using does not support this function.")
|
||||||
|
end
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
if GetResourceState('okokBanking') ~= 'started' then return end
|
if GetResourceState('okokBanking') ~= 'started' then return end
|
||||||
Managment = {}
|
Managment = Managment or {}
|
||||||
|
|
||||||
Managment.GetAccountMoney = function(account)
|
Managment.GetAccountMoney = function(account)
|
||||||
return exports['okokBanking']:GetAccount(account)
|
return exports['okokBanking']:GetAccount(account)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
if GetResourceState('qb-banking') ~= 'started' then return end
|
if GetResourceState('qb-banking') ~= 'started' then return end
|
||||||
Managment = {}
|
Managment = Managment or {}
|
||||||
|
|
||||||
Managment.GetAccountMoney = function(account)
|
Managment.GetAccountMoney = function(account)
|
||||||
return exports['qb-banking']:GetAccountBalance(account)
|
return exports['qb-banking']:GetAccountBalance(account)
|
||||||
|
|||||||
Reference in new issue
Block a user