
10-04-2002, 04:42 AM
|
|
Registered User
|
 |
Join Date: Feb 2002
Location: Florida, USA
Posts: 143
|
|
Disabling NPC Weapons
|
if (playerenters) {
if (!isweapon) {
toweapons NoWeaponSelected;
}
disableselectweapons;
timeout = .05;
}
if (timeout) {
if (!strequals(#w(selectedweapon),NoWeaponSelected)) {
for (this.index = 0; this.index <= weaponscount; this.index++){
if (strequals(#w(this.index),NoWeaponSelected))
break;
}
selectedweapon = this.index;
}
timeout = .05;
}
That should be the correct way to disable npc weapons...
almost forgot the disable q select |
|
|
|