Jump to content

[Help] screen size's[SOLVED]


K4stic

Recommended Posts

how make it same place in all Screen size's?

--Client side

    screenWidth, screenHeight = guiGetScreenSize() 
    windowWidth, windowHeight = 300,170 
    left = screenWidth/1.18 - windowWidth/9.8 
    top = screenHeight/1.09 - windowHeight/20 
    dxDrawRectangle(screenWidth - 235,(screenHeight/2) + 416,210,20,tocolor(0,0,0,180)) 
    dxDrawRectangle(screenWidth - 235,(screenHeight/2) + 441,210,20,tocolor(0,0,0,180)) 
    dxDrawRectangle(screenWidth - 235,(screenHeight/2) + 466,210,20,tocolor(0,0,0,180)) 
    dxDrawText ( "Text 1", left,  top, screenWidth, (screenHeight/2), tocolor ( 200, 200, 200, 255 ), 1.0, "arial" ) 
    dxDrawText ( "Text 2", left,  top +25, screenWidth, (screenHeight/2), tocolor ( 200, 200, 200, 255 ), 1.0, "arial" ) 
    dxDrawText ( "Text 3", left,  top +50, screenWidth, (screenHeight/2), tocolor ( 200, 200, 200, 255 ), 1.0, "arial" ) 

mta-sc11.png

i wonna to see like this but it show's like this only in my resolusion screen i wonna to be on all resolusions see like in my

Edited by Guest
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...