mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 10:18:54 +00:00
Added message to reciver...
when the target player doesn't have enough money to pay the bill
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user