AmmoTypes not working for many people?

Ive uploaded an addon with custom ammotypes and for some reason, 50% of people who got it said that the ammo isnt working for them. When they try doing “givecurrentammo” in console, nothing happens. Other people however say that the ammotypes are working fine.


if CLIENT then
language.Add("psi_nullwavebomb_ammo", "Antiwave Charges")	
language.Add("psi_psihypoammo_ammo", "PSI Hypo")	
language.Add("psi_psychpoints_ammo", "Psionic Energy")	
end


game.AddAmmoType( {
	name = "psi_psychpoints",
	dmgtype = DMG_BULLET,
	tracer = TRACER_LINE,
	plydmg = 0,
	npcdmg = 0,
	force = 0,
	minsplash = 0,
	maxsplash = 0
} )

--lit

game.AddAmmoType( {
	name = "psi_psihypoammo",
	dmgtype = DMG_BULLET,
	tracer = TRACER_LINE,
	plydmg = 0,
	npcdmg = 0,
	force = 0,
	minsplash = 0,
	maxsplash = 0
} )


game.AddAmmoType( {
	name = "psi_nullwavebomb",
	dmgtype = DMG_BULLET,
	tracer = TRACER_LINE,
	plydmg = 0,
	npcdmg = 0,
	force = 0,
	minsplash = 0,
	maxsplash = 0
} )

how do i fix this? i don’t think its a problem with my swep base.

Code looks fine as long as the file is ran before game.BuildAmmoTypes.

how would i check if it’s ran before game.BuildAmmoTypes? also, would anything in a swep base possibly be interfering?

It could be with the base; if it’s in autorun it’s ran before game.BuildAmmoTypes.

its in autorun, so that’s not the problem. what in the base could possibly interfere with it? I removed customammodisplay incase it could be in some way.

i still can’t find anything that could be messing with the ammotype, which is weird.