Araa Posted April 19, 2012 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.
Edikosh998 Posted April 19, 2012 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).
Araa Posted April 19, 2012 Author Posted April 19, 2012 Bueno, no era ahi pero quedo mejor Ademas ya entendi como funciona, muchas gracias.
Recommended Posts