0 Members and 3 Guests are viewing this topic.
function AB_open(){ window_create('BUTTONZ','','',100,100,"<input type='button' onclick='AB_Windowz()'></input>");}function AB_Windowz(){ window_create('BUTTONZ 2','','',100,100,"<input type='button'></input>");}
function AB_open(){ tasker_create_task('#THE GAME',AB_Windowz(),null,1000);// window_create('BUTTONZ','','',100,100,"<input type='button' onclick='AB_Windowz()'></input>");}function AB_Windowz(){ if (keyboard_getkey(13)){ window_create('BUTTONZ 2','','',randomInt(100,300),randomInt(100,300),"<input type='button'></input>"); }// event_notify('The Game');}//returns a random integer between a and bfunction randomInt(a,b) { if (a < 0) { b = (b*2)+1; } return (Math.floor(Math.random()*b)+a)}