|
// NPC made by Golem
if (playertouchsme) {
this.pos=0;
disabledefmovement;
setani idle,;
timeout=.05;
}
if(timeout&&this.pos=0){
showimg 200,@Arial@cb@->Deposit,(screenwidth/2),(screenheight/2-120);
showimg 201,@Arial@cb@Withdrawl,(screenwidth/2),(screenheight/2-100);
showimg 202,@Arial@cb@Balance,(screenwidth/2),(screenheight/2-80);
changeimgvis 200,4;
changeimgvis 201,4;
changeimgvis 202,4;
timeout=.05;
}
if(timeout){
if(keydown(2)&&this.pos=0){
this.pos=1;
showimg 200,@Arial@cb@Deposit,(screenwidth/2),(screenheight/2-120);
showimg 201,@Arial@cb@->Withdrawl,(screenwidth/2),(screenheight/2-100);
showimg 202,@Arial@cb@Balance,(screenwidth/2),(screenheight/2-80);
changeimgvis 200,4;
changeimgvis 201,4;
changeimgvis 202,4;
timeout=.05;
}
if(keydown(2)&&this.pos=1){
this.pos=2;
showimg 200,@Arial@cb@Deposit,(screenwidth/2),(screenheight/2-120);
showimg 201,@Arial@cb@Withdrawl,(screenwidth/2),(screenheight/2-100);
showimg 202,@Arial@cb@->Balance,(screenwidth/2),(screenheight/2-80);
changeimgvis 200,4;
changeimgvis 201,4;
changeimgvis 202,4;
}
if(keydown(2)&&this.pos=2){
this.pos=0;
}
timeout=.05;
} |