View Single Post
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 07-05-2015 , 09:56   Re: [TF2] How to disable player picks up weapons?
Reply With Quote #10

Quote:
Originally Posted by Chdata View Post
Okay I tested it. It fires whenever you are equipped with a weapon, so during/before/after?? post_inventoryapplication

and every time you pick up and switch for a new weapon

I don't know how one would differentiate that firing when first equip with your stuff or switching to a new weapon, though.

edit: I used a haphazard way of doing it (wait till round starts).

Returning Plugin_Handled when trying to pick up a primary weapon makes you drop your primary weapon, but not take the new one, leaving you with no weapon in the primary slot. And then you can't pick up any primary weapons because you need to have one to drop in the first place.
Did you try settransmit on them, so only people you want to use them can see?
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline