I managed to get my answer from a good friend of mine.
I've used the following to set my clip
PHP Code:
SetEntProp(weapon, Prop_Data, "m_iClip1", clip);
And the following to set reserve ammo
PHP Code:
SetEntProp(weapon, Prop_Send, "m_iPrimaryReserveAmmoCount", ammo);
SetEntProp(weapon, Prop_Send, "m_iSecondaryReserveAmmoCount", ammo);
Or the full function for those that want it
PHP Code:
void SetAmmo(int client, int wepslot, int clip, int ammo)
{
int weapon = GetPlayerWeaponSlot(client, wepslot);
if (IsValidEntity(weapon))
{
SetEntProp(weapon, Prop_Data, "m_iClip1", clip);
SetEntProp(weapon, Prop_Send, "m_iPrimaryReserveAmmoCount", ammo);
SetEntProp(weapon, Prop_Send, "m_iSecondaryReserveAmmoCount", ammo);
}
}
You need to add a lot more to limit clip and enforce reserve ammo but this is the gist of it.
__________________