[Help] blips custom font

hi I am stuck to get my custom font working in the blips display name on the map would appreciate if someone helps me to get this works
here is the register command for the font I have

RegisterFontFile('A9eelsh')
fontId = RegisterFontId('A9eelsh')
SetTextFont(fontId)

I put the stream folder in the script but in the esx_scriptxxxx/client/main.lua
where to put these lines?

I dont know how, but I am here to tell you that these lines is to solve the Arabic font issue in .lua or fivem.

Did you find a solution ?

RegisterFontFile(' font name ')
local fontId = RegisterFontId(' font name ') -- Font name you entered in the convert script
SetTextFont(fontId)

AddTextComponentString '<font face=" font name "> text placeholder </font>'

these are all the things you need :wink:

1 Like