Hi !
I try to get the Secondary ammo info for the Ar2 but it’s not working
[lua]for k,v in pairs (LocalPlayer():GetWeapons()) do
if v:GetClass() == “weapon_ar2” then
draw.SimpleText("Clip: " … v:GetActiveWeapon(v:GetSecondaryAmmoType()), “ScoreboardText”, 15, 50, Color(242, 204, 51, 225), 0, 0)
– draw.SimpleText("Clip Extra: " … client:GetAmmoCount(v:GetActiveWeapon():GetPrimaryAmmoType()), “ScoreboardText”, 15, 60, Color(242, 204, 51, 225), 0, 0)
– draw.SimpleText("Clip Secondary: " … v:GetAmmoCount(v:GetActiveWeapon():GetSecondaryAmmoType()), “ScoreboardText”, 15, 70, Color(242, 204, 51, 225), 0, 0)
end
end
[/lua]