View Single Post
  #4  
Old 07-06-2001, 04:28 AM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
You mean this code?
NPC Code:
if (weaponfired) this.active=1-this.active;
if ((created||timeout)&&isweapon) {
if (this.active==1&&strlen(#c)>0) setplayerprop #c,#e(strlen(#c),1,#c)#e(1,strlen(#c)-1,#c);
timeout=0.05;
}


With perhaps a slower timeout... And I'm not sure if this works like it should but you get the basic idea.
__________________

Reply With Quote