View Single Post
  #6  
Old 12-06-2001, 11:59 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Re: Whats wrong with this

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.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it

Last edited by Saga2001; 12-06-2001 at 12:08 PM..
Reply With Quote