View Single Post
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 10-04-2012 , 22:24   Re: [L4D2] Drop weapon when punched (v1.1)
Reply With Quote #8

Nice plugin!

Manually adding to your ammo offset is a bit sketch You should probably also add an else check in your DropSlot function to see if a weapon is actually 'dropped', otherwise I can see an error happening when the client has no weapons and is hit.

Regardless, cool concept
KyleS is offline