Multi-language support

This commit is contained in:
nearbyplayer
2017-08-16 23:13:40 -04:00
parent 007eef76d5
commit 9390b2f8b0
6 changed files with 62 additions and 31 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ AddEventHandler('esx_clotheshop:pay', function()
xPlayer.removeMoney(Config.Price)
TriggerClientEvent('esx:showNotification', source, 'Vous avez payé $' .. Config.Price)
TriggerClientEvent('esx:showNotification', source, _U('you_paid') .. Config.Price)
end)
@@ -19,7 +19,7 @@ AddEventHandler('esx_clotheshop:saveOutfit', function(label, skin)
local xPlayer = ESX.GetPlayerFromId(source)
TriggerEvent('esx_datastore:getDataStore', 'property', xPlayer.identifier, function(store)
local dressing = store.get('dressing')
if dressing == nil then
@@ -60,4 +60,4 @@ ESX.RegisterServerCallback('esx_clotheshop:checkPropertyDataStore', function(sou
cb(foundStore)
end)
end)