Re: HL2 plugin Weapon support -
30-05-2005
Ok, so CBotCmd.weaponselect is the index of the weapon in the edict list apparently. Unfortunately that doesn't help us much since I don't know of a way to get which weapons a particular player has so I could then use their index. Grr, seems this is kinda stuck until valve can give us more access, or fix the behavior of SetActiveWeapon so it doesn't create a new weapon each time or something.
|