When using the RemoveAccountBalance method, I get the following error message:
Code I am using:
local fee = Fees[class]
local player = Ox.GetPlayer(vehicle.owner)
local account = player.getAccount()
lib.print.info(type(fee), fee, account.balance)
if not Ox.RemoveAccountBalance(account.id, fee, false, locale('vehicle_impound', vehicle.plate)) then
...
end
When using the RemoveAccountBalance method, I get the following error message:
Code I am using:
Pretty sure this is a number though.