K4stic Posted January 31, 2013 Share Posted January 31, 2013 (edited) 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" ) 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 January 31, 2013 by Guest Link to comment
iPrestege Posted January 31, 2013 Share Posted January 31, 2013 I think that this can help you ? : guiGetScreenSize Link to comment
K4stic Posted January 31, 2013 Author Share Posted January 31, 2013 check again code because i update it because not add it full Link to comment
K4stic Posted January 31, 2013 Author Share Posted January 31, 2013 (edited) i find this tut => https://wiki.multitheftauto.com/wiki/GuiGetScreenSize so no need more help Edited January 31, 2013 by Guest Link to comment
Fury Posted January 31, 2013 Share Posted January 31, 2013 left = screenWidth/1.18 - windowWidth/9.8 top = screenHeight/1.09 - windowHeight/20 try to change this to --example. left = screenWidth-185 top = screenHeight-515 this Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now