Quote:
Originally Posted by FlaminSarge
After you call TF2Items_GiveWeapon and give the weapon, you can set weaponindex[client] back to -1 so that next time they pick up the ammo pack, it's not given.
Also, if you can figure out a way to get the entity of the item_pickup event, you can drop this system entirely and use m_nItemDef from the tf_ammo_pack entity to determine the weapon index. But that is ONLY if you can find the entity, which I'm not sure you can at the moment.
|
Okay, thanks. Can't do the changes now. But, sure ! I will do this.
__________________