Mefisto_PL Posted April 8, 2012 Posted April 8, 2012 Hello, I've scoreboard edited by NexTreme and I want to create my own font in that, but when I upload it, it's not working.. nicksfont = dxCreateFont( "nicks.ttf", 20 ) useAnimation = settings.useanimation scoreboardIsToggleable = settings.toggleable showServerInfo = --[[settings.showserverinfo]] false showGamemodeInfo = --[[settings.showgamemodeinfo]] false showTeams = --[[settings.showteams]] true useColors =--[[ settings.usecolors]] true drawSpeed = settings.drawspeed scoreboardScale = settings.scale columnFont = "beckett" contentFont = nicksfont teamHeaderFont = "default-bold" serverInfoFont = "clear" Where is mistake?! :<
Jaysds1 Posted April 8, 2012 Posted April 8, 2012 If you created your own font, then it wont work on MTA. BTW, is this a script?
TwiX! Posted April 8, 2012 Posted April 8, 2012 learn here pls.. https://forum.multitheftauto.com/viewtopic.php?f=148&t=41066 /debugscript 3 We are not psychics
Mefisto_PL Posted April 8, 2012 Author Posted April 8, 2012 If you created your own font, then it wont work on MTA.BTW, is this a script? It's a fragment of code . ///EDIT In Debugscript Isn't any error.
Jaysds1 Posted April 8, 2012 Posted April 8, 2012 well, we can't make out anything for the code, we don't even know what to do with this, if you can, please post the rest of the script or you can pm and I'll edit it.
Castillo Posted April 8, 2012 Posted April 8, 2012 If you created your own font, then it wont work on MTA.BTW, is this a script? What are you talking about? do you think guiCreateFont, dxCreateFont are there just to increase functions count?
Mefisto_PL Posted April 8, 2012 Author Posted April 8, 2012 http://pastebin.com/jxr4EgiE If it help..
Guest Guest4401 Posted April 9, 2012 Posted April 9, 2012 nicksfont = dxCreateFont( "nicks.ttf", 20 ) Where is mistake?! :< You created the font, and it's created. Now you must use that font instead of the default one in dxDrawText's 8th argument. Texts in scoreboard are made with dxDrawText. Search the texts and replace it. For example, dxDrawText("text", left, top, left, top, color, scale, nicksfont)
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