Brad96 Posted August 17, 2013 Posted August 17, 2013 se puede importar una fuente por ej al mapname del race? lo e intentado , pero cuando pongo la fuente en el text aparece la de default .. local myFont = dxCreateFont("font.ttf" ,12 mapdisplay = dxText:create('Map: none', 2, screenHeight - dxGetFontHeight(0.7, 'bankgothic')/2, false, 'myFont, 0.7, 'left') espero que me ayuden gracias, . Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Castillo Posted August 17, 2013 Posted August 17, 2013 No, porque usa una libreria para crear los textos, tenes que editar esa libreria para ponerle fuentes propias. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Brad96 Posted August 17, 2013 Author Posted August 17, 2013 alguna pista de como hacerlo ? Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
AlvareZ_ Posted August 17, 2013 Posted August 17, 2013 Primero, Te falto un Corchete local myFont = dxCreateFont("font.ttf" ,12) y Segundo pusistes 'myFont y es solo myFont mapdisplay = dxText:create('Map: none', 2, screenHeight - dxGetFontHeight(0.7, 'bankgothic')/2, false, myFont, 0.7, 'left')
Brad96 Posted August 17, 2013 Author Posted August 17, 2013 nada , no funciona Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Castillo Posted August 17, 2013 Posted August 17, 2013 Primero, Te falto un Corchete local myFont = dxCreateFont("font.ttf" ,12) y Segundo pusistes 'myFont y es solo myFont mapdisplay = dxText:create('Map: none', 2, screenHeight - dxGetFontHeight(0.7, 'bankgothic')/2, false, myFont, 0.7, 'left') Como ya dije, eso no servira, hay que editar la libreria. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
FraN-724 Posted August 17, 2013 Posted August 17, 2013 Debes editar el textlib.lua en donde dice strFont pones: strFont = dxCreateFont("font.ttf" ,12)
Recommended Posts