Skip to content

Commit

Permalink
Notify pt.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dnelyk committed Sep 15, 2022
1 parent 2cf99b0 commit 012eff3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,8 @@ RegisterNetEvent('cdn-fuel:client:jerrycanfinalmenu', function(purchasetype)
if Moneyamount > math.ceil(Config.JerryCanPrice + GlobalTax(Config.JerryCanPrice)) then
TriggerServerEvent('cdn-fuel:server:purchase:jerrycan', purchasetype)
else
QBCore.Functions.Notify("You don't have enough money!", 'error')
if purchasetype == 'bank' then QBCore.Functions.Notify("You don't have enough money in your bank!", 'error') end
if purchasetype == "cash" then QBCore.Functions.Notify("You don't have enough cash in your pocket!", 'error') end
end
end)

Expand Down

0 comments on commit 012eff3

Please sign in to comment.