mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Update multi-language support
This commit is contained in:
@@ -18,4 +18,5 @@ Locales['en'] = {
|
||||
['withdraw'] = 'withdraw',
|
||||
['withdraw_amount'] = 'withdraw amount',
|
||||
['withdraw_society_money'] = 'withdraw society money',
|
||||
['bank_customer'] = 'bank Customer',
|
||||
}
|
||||
@@ -18,4 +18,5 @@ Locales['fr'] = {
|
||||
['withdraw'] = 'retrait',
|
||||
['withdraw_amount'] = 'montant du retrait',
|
||||
['withdraw_society_money'] = 'retirer argent société',
|
||||
['bank_customer'] = 'client Banque',
|
||||
}
|
||||
+1
-1
@@ -65,7 +65,7 @@ TriggerEvent('esx_phone:registerCallback', function(source, phoneNumber, message
|
||||
local xPlayer2 = ESX.GetPlayerFromId(xPlayers[i])
|
||||
if xPlayer2.job.name == 'banker' then
|
||||
TriggerEvent('esx_phone:getDistpatchRequestId', function(requestId)
|
||||
TriggerClientEvent('esx_phone:onMessage', xPlayer2.source, xPlayer.get('phoneNumber'), message, xPlayer.get('coords'), anon, 'Client Banque', false)
|
||||
TriggerClientEvent('esx_phone:onMessage', xPlayer2.source, xPlayer.get('phoneNumber'), message, xPlayer.get('coords'), anon, _U('bank_customer'), false)
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user