Max allowed weapon count. ?

Hey, how can I make a function that would let only specific gun be only 1 in map.
Like there can’t be 2 shotguns, but only 1.

Thanks.

I guess you could name a shotgun then have a math counter to add one every time a shotgun is spawned then remove all shotguns except the named one… I’m not sure.

There’s probably a more efficient way of doing it, than I said.

Surely you could just place only 1 shotgun in the map, and ensure that game_player_equip is set up not to give spawning players a shotgun?