what would I use in the ply:GiveAmmo(200, ‘namehere’) command to add ammo to the ak47?
Take a look at the SWEP. It’s smg1.
That doesn’t work
Nvm saw your edit, now it works.
Also how would I make it so when I give the player a weapon it has no ammo in it?
pl:SetAmmo( 0, “smg1” )
That removes ALL ammo, not just a specific type.
SetAmmo doesn’t work. Correct me if I’m wrong
ply:Give("weapon_ak47") ply:SetAmmo(0, 'smg1');
function equip_ak(ply) ply:Give("weapon_ak47") ply:GiveAmmo(30, "smg1") end
I have give ammo working I just want the AK to start out with 0 ammo