Well i've been scripting a GUI and i've put a script into a timeout as follows
NPC Code:
//#CLIENTSIDE
if(created || timeout){
this.w = screenwidth/screenwidth;
this.h = screenheight/screenheight;
showstats 1024;
if (mousescreenx in |50,70| && mousescreeny in |0,30|) {
if(leftmousebutton){
hideimg 302;
showimg 309,#3,this.x+this.x+52,this.h+this.y+40;
changeimgvis 309,4;
}
}
showimg 302,#W,this.x+this.x+52,this.h+this.y+40;
changeimgvis 302,4;
timeout=0.05;
}
That isn't the whole script, but as you can see..
When you click in the x and y it is suppose to hide the image index of 302, but it dosn't :O
Any idea how I can do it?
any help would help
