I thought of that too, but this is less work and easier.
Also now that I think of it... wow those GetWeaponX functions must be old.
But I'm not sure, how would one rewrite those exactly?
I think GetWeaponClip would just be
PHP Code:
stock GetWeaponClip(weapon)
{
if (IsValidEntity(weapon))
{
return GetEntProp(weapon, Prop_Send, "m_iClip1");
}
return 0;
}
__________________