Update server.lua

This commit is contained in:
Noah Pombas
2025-01-03 19:20:57 +01:00
committed by GitHub
parent 260787c6ad
commit 0f82bc1785

View File

@@ -20,9 +20,9 @@ AddEventHandler("taxi:chargeFullPrice", function(preco)
if xPlayer.getAccount('bank').money >= preco then
xPlayer.removeAccountMoney('bank', preco)
TriggerClientEvent('esx:showNotification', _source, "Você foi cobrado pelo valor total da viagem: $" .. preco)
TriggerClientEvent('esx:showNotification', _source, "$" .. preco .. "were removed from your account!" )
else
TriggerClientEvent('esx:showNotification', _source, "Você não tem dinheiro suficiente para pagar a viagem!")
TriggerClientEvent('esx:showNotification', _source, "You do not have enough money!")
end
end)
-- Made with ❤️ by noahpombas.ch
-- Made with ❤️ by noahpombas.ch