
01-07-2002, 01:33 PM
|
|
Not in Use
|
Join Date: Mar 2001
Location: N/A
Posts: 1,527
|
|
Quote:
Originally posted by BocoC
selectedweapon [index];
Say you wanted to automatically set the player's weapon to weapon Bow.
NPC Code:
for (i=0;i<weaponscount;i++) {
if (strequals(#w(i),Bow)) {
selectedweapon=i;
}
}
|
Bah...I'm not used to these fancy n00b commands that make things which can already be done easier -_- |
__________________
This account is no longer is use.
|
|
|
|