Hello , im working on a crysis mod , i done a lot of things but i have a big problem with the hud , the mod is based on a Crysis Quick Menu HUD icons are in VTF format , the HUD use Fonts (.ttf)
Few days , i done my font (Not easy -.-) but Gmod (10 and 13) won't draw it
It works with the original font but not with my font
The code :
[lua]
surface.SetFont( "CrysisSuitModes" )
[/lua]
The font can be downloaded on my FTP : [URL="http://dargencourt.com/Help/CrysisSuitModes.ttf"]Here[/URL]
[IMG]http://dargencourt.com/Help/buro.bmp[/IMG]
[IMG]http://dargencourt.com/Help/Sans%20titre%203.bmp[/IMG]
[lua]surface.CreateFont( font_name, size, weight, antialiasing, additive, new_font_name )
-- EXAMPLE --
surface.CreateFont( "coolvetica", 64, 500, true, false, "SandboxLabel" )
[/lua]
Try creating your own font, and see if it'll work.
EDIT : OMG IT WORKS
But i made made a new with parameter "Unicode" (It was Symbols)
Thanks a lot :D
No problem (;
Sorry, you need to Log In to post a reply to this thread.