Jump to content

the gui is visibile just for me


golanu21

Recommended Posts

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

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 :D ?)

Link to comment

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

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 :D . 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 :D)

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