Jump to content

Resoluciones?


Araa

Recommended Posts

Posted

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.

Hi, this is a signature.

Posted
  
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).

WRS( World Racing Server) [server] = 8%

Posted

Bueno, no era ahi pero quedo mejor :P

Ademas ya entendi como funciona, muchas gracias.

Hi, this is a signature.

  • Recently Browsing   0 members

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