Drawtext custom font

Hello guys , i need custom font for czech republic to this script : [Release] Compass and street name HUD

However i want to change it it don´t want to change the font :


I have this and i want custom font like ARIAL
How can i do it ? Thanks

Gustafo

1 Like

So first you need to convert the font file your using to a gfx file so you can register it. You may use: Font 2 GFX Converter

Then you need to put the GFX file into stream. Afterwards in your server file you need to use the following:

RegisterFontFile(“Your Font File Name without .GFX”)
RegisterFontID(“Your Font File Name without .GFX”)

Afterwards instead of using font = 1 you use: font = Your Font File Name without .GFX

So with Arial.gfx it would look like:

RegisterFontFile(“Arial”)
RegisterFontId(“Arial”)

font = Arial

Okay and where i souhld put the RegisterFont codes ?

Because i have only this.
image

1 Like