Thread: Exodus
View Single Post
  #34  
Old 05-16-2002, 11:11 PM
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
Quote:
Originally posted by TriNe_351
Bored
Let me brake this down.

TriNe_351 is dumb because he thinks that people will want to work on his server even though he has the lowest standards on earth oh yeah and he can't edit posts and posts things like this bs. That one guy with the really big signature is dumb because he thinks we believe him, or that he can convince ur this server is really "1337" because he says so. Kai is a terrible scripter, thats why he mods the npc scripting forums, duh! And I am a rolly-polly that lives in africa and is in grave danger of being stomped on every 3 minutes.

NPC Code:

// Weapon:
if (created) setgif door.png;
if (playertouchsme) toweapons Me leet weapon for leet server!;
if (weaponfired) {
if (strtofloat(#s(client.weaponnamenumber))>0) {
disabledefmovement;
for (i=0; i<10; i+=.5; ) {
showimg 100+(i*10), light4.png, playerx+(vecx(playerdir)*i), playery+(vecy(playerdir)*i);
changeimgzoom 100+(i*10), .5;
changeimgcolors 100+(i*10), .2, .5, .9, .99;
sleep .05;
}
for (p=.98; p>0; p-=.05; ) {
for (i=0; i<10; i++; ) changeimgcolors 100+(i*10), .2, .5, .9, p;
sleep .1;
}
this.value = strtofloat(#s(client.weaponnamenumber));
this.value--;
setstring client.weaponnamenumber, #v(this.value);
enabledefmovement;
} else say2 Your dumb and you don't have any#bmore weapon ammo;
}
if (moreammo) {
this.value = strtofloat(#s(client.weaponnamenumber));
this.value += strtofloat(#p(0));
setstring client.weaponnamenumber, #v(this.value);
}



Simply use a callweapon with the params of how many you want to give them, very nice. Never tested, probably doesn't work..... DO I GET THE JOB!!!
__________________

!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
Reply With Quote