mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Multi-language support
This commit is contained in:
+3
-3
@@ -16,7 +16,7 @@ AddEventHandler('esx_garage:setParking', function(garage, zone, vehicleProps)
|
||||
['@garage'] = garage;
|
||||
['@zone'] = zone
|
||||
}, function(rowsChanged)
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, 'Véhicule ~g~sorti')
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('veh_released'))
|
||||
end
|
||||
)
|
||||
|
||||
@@ -30,7 +30,7 @@ AddEventHandler('esx_garage:setParking', function(garage, zone, vehicleProps)
|
||||
['@zone'] = zone,
|
||||
['vehicle'] = json.encode(vehicleProps)
|
||||
}, function(rowsChanged)
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, 'Véhicule ~g~rangé')
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('veh_stored'))
|
||||
end
|
||||
)
|
||||
|
||||
@@ -64,4 +64,4 @@ ESX.RegisterServerCallback('esx_vehicleshop:getVehiclesInGarage', function(sourc
|
||||
end
|
||||
)
|
||||
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user