Could someone help me please

Could someone help me please i don’t know why this error comes up

https://gyazo.com/fc6a9cbdaa9beb106e596d29eccb8513

I don’t use ESX or whatever framework it is normally so reading an error in a different language certainly wont make it easier for me.

oo it’s in french i think i aint even know my self

im swedish though

You are missing a translation.

You can change the language of the script

1 Like

I have the same problem. How to change the language?

what folder is it that i need to change esx what?

usually the language forlder is called ‘locale’

ye but like name like esx holupbank or what

go to the [esx] folder -> search everywhere, where a local folder is and see what language u need.
The same with folders where Localize is too. Open everything with notepad++.
And the config files too. just put Config.Locale = ‘en’ there.

it is indeed in the [ESX] folder but under the section [UI]

hmmm i don’t have a esx ui i only have a es ui

yeah it is in there!

would u mind hoping in dc with me to maybe help me?

Sorry man, I am kind of busy right now!

ok umm idk how to fix it though the client.lua says rn

RegisterNetEvent('es:setMoneyIcon')
AddEventHandler('es:setMoneyIcon', function(i)
	SendNUIMessage({
		seticon = true,
		icon = i
	})
end)

RegisterNetEvent('es:activateMoney')
AddEventHandler('es:activateMoney', function(e)
	SendNUIMessage({
		setmoney = true,
		money = e
	})
end)

RegisterNetEvent('es:displayMoney')
AddEventHandler('es:displayMoney', function(a)
	enableNative[1] = true

    SetMultiplayerHudCash(a, 0)
    StatSetInt(GetHashKey("MP0_WALLET_BALANCE"), a)
end)

RegisterNetEvent('es:displayBank')
AddEventHandler('es:displayBank', function(a)
	enableNative[2] = true

	SetMultiplayerBankCash()
	SetPlayerCashChange(0, 1)
	Citizen.InvokeNative(0x170F541E1CADD1DE, true)
	SetPlayerCashChange(0, a)
end)

RegisterNetEvent("es:addedMoney")
AddEventHandler("es:addedMoney", function(m, native, current)

	if not native then
		SendNUIMessage({
			addcash = true,
			money = m
		})
	else
		SetMultiplayerHudCash(current, 0)
		StatSetInt(GetHashKey("MP0_WALLET_BALANCE"), current)
	end

end)

RegisterNetEvent("es:removedMoney")
AddEventHandler("es:removedMoney", function(m, native, current)
	if not native then
		SendNUIMessage({
			removecash = true,
			money = m
		})
	else
		SetMultiplayerHudCash(current, 0)
		StatSetInt(GetHashKey("MP0_WALLET_BALANCE"), current)
	end
end)

RegisterNetEvent('es:addedBank')
AddEventHandler('es:addedBank', function(m)
	Citizen.InvokeNative(0x170F541E1CADD1DE, true)
	SetPlayerCashChange(0, math.floor(m))
end)

RegisterNetEvent('es:removedBank')
AddEventHandler('es:removedBank', function(m)
	Citizen.InvokeNative(0x170F541E1CADD1DE, true)
	SetPlayerCashChange(0, -math.floor(m))
end)

RegisterNetEvent("es:setMoneyDisplay")
AddEventHandler("es:setMoneyDisplay", function(val)
	SendNUIMessage({
		setDisplay = true,
		display = val
	})
end)

RegisterNetEvent("es_ui:setSeperatorType")
AddEventHandler("es_ui:setSeperatorType", function(val)
	SendNUIMessage({
		setType = true,
		value = val
	})
end)

when ever u got time is fine aswell with me

thats not a error

translate the language

from {language} to English or anything else

you can see that on ESX

1 Like

thing is i don’t find it in the ui there is no language