If you havent seen this exploit in live action, count yourself lucky. Its a weird/laggy exploit. The laggy part is because is what the exploit does. What happens is player picks up a melee weapon, finds a pistol and there we. Unlimited pistols. The player just keep spamming +use upon dropping the melee weapon and getting the pistol in the hand. Somehow this produces an extra pistol. This equal massive lag as the server is trying to calculate all these falling pistol in the same place. Now the weird part is not on how this pistol just enters the world. Its more because I noticed that neither item_pickup nor spawner_give_item triggers when pistol gets picked up O.o So I had to go with player_use and check the entity net class of the entity that is being used. If so block +use for 0.3 seconds.
Prevents people from mass spawning pistols by using an exploit
Code: Version 1.0 Initial release
Version 1.0 Initial release