View Single Post
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 12-11-2011 , 16:59   Re: [CSS] Ammo from dead
Reply With Quote #25

alright - I got it to work... almost 100% done...

Right now, if you "drop" your weapon, it will drop the appropriate model (pistol, shotty, or other) and the correct amount of ammo will be retained. Also, just because you have a rifle that uses the same ammo type as pistol doesn't mean you can pick up that ammo - ammo is dropped as pistol ammo or rifle ammo.

When a player is killed, for some reason, the method I'm using only drops one weapon's ammo (usually primary weapon if they have it)... I'll be working on that

...:: TnT Edit ::...

I don't think it has anything to do with how I'm doing anything - it's the way it works with CS:S... if a player dies and they have an AK47 and a glock, only the AK47 is dropped. The glock doesn't drop - it only drops if they do not have a weapon in slot 0 (primary)... I'll see if I can come up with something.

Either way, here's a screenshot of the different models being dropped for the different types of weapons:
Attached Thumbnails
Click image for larger version

Name:	2011-12-11_00003.jpg
Views:	118
Size:	60.3 KB
ID:	96572  

Last edited by TnTSCS; 12-11-2011 at 17:17.
TnTSCS is offline