![]() |
GUI probelms
I am having problems with my gui. It randomly works and stops working.
Normaly, the images stay in the left and corner of the screen but now the health bar wont stay there, it just stays on the map. what happened? //#CLIENTSIDE if (created){ enablepause; timeout = .05; } if (timeout){ showimg 200,irata_gui.png,0,0; changeimgvis 200,4; changeimgpart 200,0,0,156,103; //bar if (playerhearts>0){ showimg 205,irata_gui.png,32,31; changeimgpart 205,7,105,playerhearts*5,10; changeimgvis 205,3; changeimgcolors 205,1,1,1,0.5;} if (playerhearts<1){ hideimg 205;} //bar if (playermp>0){ showimg 206,irata_gui.png,32,59; changeimgpart 206,7,115,playermp,10; changeimgvis 206,3; changeimgcolors 206,1,1,1,0.5;} if (playermp<1){ hideimg 206;} showimg 201,@Verdana@#v(playerhearts)/20,69,31; changeimgzoom 201,.495; changeimgcolors 201,0,0,0,.99; changeimgvis 201,10; showimg 202,@Verdana@#v(playermp)/100,66,59; changeimgzoom 202,.495; changeimgcolors 202,0,0,0,.99; changeimgvis 202,10; showimg 203,@Verdana@: #v(playerrupees),30,82; changeimgvis 203,9; changeimgzoom 203,.495; changeimgcolors 203,0,0,0,.99; showimg 204,@Verdana@: #v(client.ep),105,82; changeimgvis 204,9; changeimgzoom 204,.495; changeimgcolors 204,0,0,0,.99; showimg 208,#f,160,16; changeimgvis 206,11; timeout = .05; } |
Try for loops, and GS2 :-)
And why is your vis layer so high? Gui should be like... 4 Then make text + images 5 |
Quote:
|
=O
I didn know that, I set my img layers to 4 and 5 and now it works. Thanks |
| All times are GMT +2. The time now is 12:14 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.