Now after you run out of ammo, CJ will throw away his weapon like in GTA IV. You can also drop any weapon by pressing TAB + G (Can be changed in .ini).
v2.0 My version with the ability to pick up thrown weapons, because... in the past there was a crash with the Weapon Details mod (during reloading). I couldn't correct his script, so I wrote a little of my own.