DiGiTal Posted August 8, 2017 Posted August 8, 2017 Hi.For example this : how, can i get the x,y,width,height ??? wdwLogin = guiCreateWindow(X, Y, Width, Height, "Please Log In", true) Our Website : https://tutoplayfun.ml/ Our Discord: https://discord.gg/BxkW65z
NeXuS™ Posted August 8, 2017 Posted August 8, 2017 Those are variables, you can type in 0-1 if you have that true at the end, if it's false, you can enter a number which will represent pixels. Did I help you? NeXuS™#0001
DiGiTal Posted August 8, 2017 Author Posted August 8, 2017 (edited) @NeXuS™ you didn't understand, How i get those pixels. 20 minutes ago, NeXuS™ said: Those are variables, you can type in 0-1 if you have that true at the end, if it's false, you can enter a number which will represent pixels. you didn't understand, How i get those pixels. Edited August 8, 2017 by Ridden Our Website : https://tutoplayfun.ml/ Our Discord: https://discord.gg/BxkW65z
NeXuS™ Posted August 8, 2017 Posted August 8, 2017 Do you mean how to get the width and the height of that GUI? Did I help you? NeXuS™#0001
DiGiTal Posted August 8, 2017 Author Posted August 8, 2017 yes Our Website : https://tutoplayfun.ml/ Our Discord: https://discord.gg/BxkW65z
NeXuS™ Posted August 8, 2017 Posted August 8, 2017 local sX, sY = guiGetScreenSize() local X, Y, Width, Height = 0.1, 0.1, 0.2, 0.2 local guiW = guiCreateWindow(X, Y, Width, Height, "Test", true) local pixelX, pixelY, pixelWidth, pixelHeight = X*sX, Y*sY, Width*sX, Height*sY Try this one. Did I help you? NeXuS™#0001
DiGiTal Posted August 8, 2017 Author Posted August 8, 2017 thx. otherone question 0.1, 0.1, 0.2, 0.2 wht does it mean ??? Our Website : https://tutoplayfun.ml/ Our Discord: https://discord.gg/BxkW65z
NeXuS™ Posted August 8, 2017 Posted August 8, 2017 Read the wiki tutorial about this. Did I help you? NeXuS™#0001
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