Thread
:
L4D2, How to Get Reserve Ammo Without m_hOwnerEntity?
View Single Post
xZk
Senior Member
Join Date: Nov 2017
Location: cl
03-27-2020 , 13:15 Re: L4D2, How to Get Reserve Ammo Without m_hOwnerEntity?
#
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
(
weapon
,
Prop_Data
,
"m_iExtraPrimaryAmmo"
);
}
pd: only work when weapon is dropped
credits to
panxiaohai
xZk
View Public Profile
Send a private message to xZk
Find More Posts by xZk