Ok, so I have
if(leftmousebutton){
showimg INDEX,IMAGE,X,Y;
}
How do I make it so when you press cancel somewhere on the image it closes it or
hideimg;
Ok, so I have
if(leftmousebutton){
showimg INDEX,IMAGE,X,Y;
}
How do I make it so when you press cancel somewhere on the image it closes it or
hideimg;
easy stop being lazy and try use that script command u just found :facehoof:
I just want the code to it. It will helpme with my scripting.
I didnt use GUIs until I was on Graal PC for 7 months
if(mousescreenx in |x1,x2|&&mousescreeny in |y1,y2|){
do shit;
}
edit, you also need the mousedown flags.
the mouse feature should be removed from graal as it disrupts gameplay
x.x Don’t post anything about this again, though…
Hereis how it works…
if(leftmousebutton){
if(mousescreenx in |x,x| && mousescreeny in |y,y|){
showimg INDEX,IMAGE,X,Y;
}
if(mousescreenx in |x2,x2| && mousescreeny in |y2,y2|){
hideimg INDEX;
}
}
Then he will just try to use yours without the leftmousebutton part x.x This is not too much but not too little that he’ll get it…
Someone should shut Alex up.
Seriously, I gave him the functions. I even gave him the first step. If I wanted to I could’ve even given him the script like Alex just did.
Edit: Nobody seems to want these fucking noobs to learn anything anymore.