View Single Post
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Old 03-27-2020 , 13:15   Re: L4D2, How to Get Reserve Ammo Without m_hOwnerEntity?
Reply With Quote #9

I know that it may be too late, but perhaps this will be of some use:
PHP Code:

int _GetReserve
(int weapon) { 
 return 
GetEntProp(weaponProp_Data"m_iExtraPrimaryAmmo");

pd: only work when weapon is dropped

credits to panxiaohai
xZk is offline