Thread: Selected Weapon
View Single Post
  #7  
Old 04-10-2002, 01:34 AM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
Re: Selected Weapon

Quote:
Originally posted by SSRobgeta
How would I do this....
NPC Code:
selectedweapon = 0;


Doesn't seem to work.
It works, u will select the first Weapon if u use it..
try something like:

timeout=.1;
if (keydown(3)&&this.a<weaponscount)this.a++;
if (keydown(1)&&this.a>0)this.a--;
selectedweapon=this.a;
Reply With Quote