rumaier found a bug
This commit is contained in:
1 parent
f44d76c791
commit
81ab66fbbf
1 file changed
+2
-1
@@ -245,7 +245,8 @@ end
|
|||||||
Framework.RemoveAccountBalance = function(src, _type, amount)
|
Framework.RemoveAccountBalance = function(src, _type, amount)
|
||||||
local xPlayer = ESX.GetPlayerFromId(src)
|
local xPlayer = ESX.GetPlayerFromId(src)
|
||||||
if not xPlayer then return end
|
if not xPlayer then return end
|
||||||
return xPlayer.removeAccountMoney(_type, amount)
|
xPlayer.removeAccountMoney(_type, amount)
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Framework.GetAccountBalance(src, _type)
|
-- Framework.GetAccountBalance(src, _type)
|
||||||
|
|||||||
Reference in new issue
Block a user