Jump to content

Scoreboard Font


Recommended Posts

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?! :<

Link to comment
Guest Guest4401
 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)

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...