staff boots

heres the script for staff boots

Beholder helped me on this one

[code] if(playerenters) toweapons Admin Boots;
if(weaponfired) {
this.i = (this.i+1) %2;
if(this.i == 1) timeout = 0.05;
}

if(timeout && this.i == 1){
for(this.p=0;this.p<10;this.p++){
if(keydown(this.p)) { playerx += vecx(this.p); playery+=vecy(this.p);}
}
timeout = 0.05;
}[/code]

Re: staff boots

for(this.p=0;this.p<10;this.p++){

Change the 10 to a 4, you only need the first 4 keys to grab the arrow keys, the other keys are for ASDMQP o_o