Turbesz Posted January 31, 2021 Share Posted January 31, 2021 I don't understand why, but if i restart my script which contain a custom font, then the script show nonsense word instead of specified... Just a complete MTA restart fix it. I'm talking about this problem: Normally: After i restarted the script: No, I didn't change anything in the script, and the font added to meta. This is the code: local Roboto = dxCreateFont("Roboto.ttf",10) local RobotoL = dxCreateFont("RobotoL.ttf",11) dxDrawText("Kereszt #1", sx/2-65-10,sy/2-55/2+2, 0, sy/2-515/2+2+36, tocolor(255,255,255,255), 1, Roboto, "left", "center",false,false,false,true) dxDrawText("Ár: 50.000 Ft", sx/2-65-10,sy/2+25/2+2, 0, sy/2-515/2+2+36, tocolor(255,255,255,255), 1, RobotoL, "left", "center",false,false,false,true) Wth?! Link to comment
Turbesz Posted January 31, 2021 Author Share Posted January 31, 2021 edit: i reinstalled mta client, but the problem was not solved Link to comment
Moderators IIYAMA Posted January 31, 2021 Moderators Share Posted January 31, 2021 3 hours ago, Turbesz said: No, I didn't change anything in the script, and the font added to meta. It looks like something has happened during copying the font to the cache(server or client). You could try to convert the font to OTF format. (there are websites that can convert fonts) 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now