Multi-language support

This commit is contained in:
nearbyplayer
2017-08-22 00:46:41 -04:00
parent 6d69f2182e
commit 2163d0c8d9
6 changed files with 104 additions and 51 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ AddEventHandler('esx_lscustom:buyMod', function(price)
price = tonumber(price)
if price > xPlayer.getMoney() then
TriggerClientEvent('esx_lscustom:cancelInstallMod', _source)
TriggerClientEvent('esx:showNotification', _source, "Vous n'avez pas assez d'argent !")
TriggerClientEvent('esx:showNotification', _source, _U('not_enough_money'))
else
xPlayer.removeMoney(price)
TriggerClientEvent('esx_lscustom:installMod', _source)
TriggerClientEvent('esx:showNotification', _source, "Achat effectué !")
TriggerClientEvent('esx:showNotification', _source, _U('purchased'))
end
end)