View Single Post
  #1  
Old 04-18-2002, 01:54 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Weapon won't deactivate :(

For some inane reason, I cannot get my script to disable when I fire the weapon again...
NPC Code:
if (weaponfired && !timeout) {
freezeplayer .05;
//triggeraction playerx+1.5+vecx(playerdir)*2,playery+1.75+vecy(pl ayerdir)*2,chat,;
set client.chat;
timeout = 0.05;
} else if (weaponfired && timeout) {
for (this.i=0; this.i<10000; this.i++) {
hideimg this.i-1;
}
unset client.chat;
}



I've also tried using the flag I have it set, but nothing seems to work :/

I've probably done something wrong, but I can't understand what it coud be
__________________
Reply With Quote