I did as in the instructions .But not all for the end dont understand.I convert font to .gfx and what should i do next?
INSTRUCTION ON WHICH I DID:
How to add fonts (FiveM update - May 5th/6th, 2017)
Convert your .ttf to a .swf. You can use swfmill (http://swfmill.org/releases/swfmill-0.3.3-win32.zip44) to do this:
swfmill simple in.xml out.swf
Convert the .swf to .gfx. You need gfxexport.exe for this. We can not tell you where to get this, as it’s illegal to spread - find it on Google.
Put out.gfx in a stream/ folder in a resource, perhaps rename it.
AND FURTHER I DONT UNDERSTAND WHAT IS MEANT:
Call RegisterFontFile and RegisterFontId from a client script.
Use the registered ID in SetTextFont, instead of one of the game’s built-in IDs.