golanu21 Posted August 3, 2013 Share Posted August 3, 2013 fereastra = guiCreateWindow(1497, 317, 327, 67, "Experience", false) guiWindowSetSizable(fereastra, false) fereastra2 = guiCreateWindow(1497, 388, 341, 81, "Nivel", false) guiWindowSetSizable(fereastra2, false) nivlab = guiCreateLabel(156, 19, 175, 52, "", false, fereastra2) guiSetFont(nivlab, "sa-header") coie = guiCreateLabel(10, 19, 146, 52, "Nivel", false, fereastra2) guiSetFont(coie, "sa-header") prog = guiCreateProgressBar(9, 16, 308, 41, false, fereastra) fereastra = guiCreateWindow(1497, 317, 327, 67, "Experience", false) guiWindowSetSizable(fereastra, false) progressBar = guiCreateProgressBar(9, 16, 308, 41, false, fereastra) i maked this gui and for players is not visibile, it's visibile just for me ... Link to comment
bandi94 Posted August 3, 2013 Share Posted August 3, 2013 ofc it's only for you .... x = 1497px are you playing on 5m plasma ? or LOL. Most of player's use 1024 up to 1366 px resolution. Not 1497px + ... Make it relative , or use absolut math then it will be on every resolution (for everybody ). Of topic (Esti cumva roman ?) Link to comment
golanu21 Posted August 3, 2013 Author Share Posted August 3, 2013 idk how to use absolut math ... Link to comment
bandi94 Posted August 3, 2013 Share Posted August 3, 2013 Position the window on your screen with absolute value like : 400,350 . Then check your screen resolution like : 1366x768. then relative_x = 400/1366 --(0.292) relative_y = 350/768 --(0.455) then Gui...... (ScreenW*relative_x, ScreenH*relative_y ) this will stay on the same place on every resolution. Link to comment
golanu21 Posted August 3, 2013 Author Share Posted August 3, 2013 i made it, thanx off : de ce intrebai daca sunt roman ? Link to comment
bandi94 Posted August 3, 2013 Share Posted August 3, 2013 No Problem Am vazut ca scria "fereastra", si ma intrebam daca chiar esti roman ca de cand sunt pe aici n-am intalnit pana acuma pe nimeni din Ro . Ma credeam cam singur pe aici dar vad ca sunt si alti care sunt inca activi (ma refer aici pe sectia asta , stiu ca mai sunt uni pe la sectiunea de RO, dar nu prea multi care sa fie activi ) 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