Added message to reciver...

when the target player doesn't have enough money to pay the bill
This commit is contained in:
ElPumpo
2018-02-22 17:37:15 +01:00
parent 2cd9cd1d6d
commit 93daf17c9a
3 changed files with 9 additions and 5 deletions
+3
View File
@@ -184,6 +184,9 @@ ESX.RegisterServerCallback('esx_billing:payBill', function(source, cb, id)
end)
else
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('no_money'))
if foundPlayer ~= nil then
TriggerClientEvent('esx:showNotification', foundPlayer.source, _U('target_no_money'))
end
end
end)