-2

enter image description here

enter image description here

enter image description here

i get this error everytime it tries to call the funtion _U and add the translated string to the esx:notification. pls help i am not that good att lua. locale.lua es_extended

Jacob
  • 1

1 Answers1

0

A easier way to do it is to change your locales-system.

-> first create a locales folder an write the path in your fxmanifest.lua or __ressource.lua

-> create a en.lua in your locales folder and build it like this:

Locales['en'] = {
   ['NAME'] = 'WORD',
}

-> now you can use it like this ESX.ShowNotification(_U('NAME')) in your client and like this TriggerClientEvent('esx:showNotification', source, _U('NAME') in your server

Mx77z
  • 11
  • 3