View Single Post
  #7  
Old 12-07-2001, 08:20 AM
aesquivel aesquivel is offline
Registered User
Join Date: Sep 2001
Location: Whitewright
Posts: 346
aesquivel is on a distinguished road
Send a message via AIM to aesquivel
Re: Re: Whats wrong with this

Quote:
Originally posted by Saga2001
NPC Code:

if (playerenters) {
toweapons *SpaceWars;
timeout=.05;
}
while (timeout) {
disabledefmovement;
disableweapons;
disableselectweapons;
if (keydown(1)&&!onwall(playerx-0.5,playery)) {
playerx-=0.5;
playerdir=0;
}
if (keydown(3)&&!onwall(playerx+0.5,playery)) {
playerx+=0.5;
playerdir=0;
}
if (keydown(4)) {
this.mult=0;
}
if (this.mult<18) {
putexplosion 1,playerx,56-this.mult;
this.mult+=2;
}
sleep .05;
}



there ye go.

lolz nice script
__________________
Reply With Quote