Araa Posted April 19, 2012 Share Posted April 19, 2012 Bueno, esto me servira mucho en el futuro y agradeceria mucho si me pudieran ayudar. Aqui cree un texto y me gustaria que se mostrara el la parte inferior de la pantalla, justo arriba de donde dice MTA:SA 1.3, pero que se vea en cualquier resolucion, ya que lo he hecho manualmente y se pierde cuando cambio a una menor resolucion local screenWidth, screenHeight = guiGetScreenSize ( ) function createText ( ) dxDrawText ( "United Gamers Community", duda, screenHeight - 37, screenWidth, duda, tocolor ( 50, 50, 50, 250 ), 1, "arial" ) end Gracias desde ya. Link to comment
Edikosh998 Posted April 19, 2012 Share Posted April 19, 2012 local screenWidth, screenHeight = guiGetScreenSize() local windowWidth, windowHeight = 300,170 local left = screenWidth/1.35 - windowWidth/9.8 local top = screenHeight/1.25 - windowHeight/20 dxDrawText ( "United Gamers Community", left, top, screenWidth, screenHeight, tocolor ( 50, 50, 50, 250 ), 1, "arial" ) end Fijate asi a ver que tal (creo que era esa las coordenadas). Link to comment
Araa Posted April 19, 2012 Author Share Posted April 19, 2012 Bueno, no era ahi pero quedo mejor Ademas ya entendi como funciona, muchas gracias. Link to comment
Recommended Posts