Skip to content

Commit

Permalink
Fill in reason
Browse files Browse the repository at this point in the history
  • Loading branch information
GhzGarage committed Nov 23, 2023
1 parent 44bb00f commit 64643b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ RegisterNetEvent('police:server:BillPlayer', function(playerId, price)
if not Player or not OtherPlayer or Player.PlayerData.job.name ~= 'police' then return end

OtherPlayer.Functions.RemoveMoney('bank', price, 'paid-bills')
exports['qb-banking']:AddMoney('police', price)
exports['qb-banking']:AddMoney('police', price, 'Fine paid')
TriggerClientEvent('QBCore:Notify', OtherPlayer.PlayerData.source, Lang:t('info.fine_received', { fine = price }))
end)

Expand Down

0 comments on commit 64643b1

Please sign in to comment.