Ammo crate help

I’m adding an ammo crate to my edited gamemode. I just have a tiny problem. Everything works, but I want it to give me SMG, Pistol, and Rifle ammo every time. It only gives me pistol ammo for some reason. Here is the code.


function ENT:Use(activator)
if (self.use) then
activator:GiveAmmo( 25, "SMG" )
activator:GiveAmmo( 25, "Pistol" )
activator:GiveAmmo( 25, "Rifle" )
self.use = false
timer.Simple(1,usereply,self)
end
end

smg and rifle are not actual ammo types… thats why

[editline]2nd July 2012[/editline]

See the bottom of this page for ammo types: