View Single Post
  #19  
Old 10-04-2002, 04:42 AM
sage_chaozu sage_chaozu is offline
Registered User
sage_chaozu's Avatar
Join Date: Feb 2002
Location: Florida, USA
Posts: 143
sage_chaozu will become famous soon enough
Send a message via ICQ to sage_chaozu Send a message via AIM to sage_chaozu Send a message via MSN to sage_chaozu Send a message via Yahoo to sage_chaozu
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
Reply With Quote