I didn't think this was possible, but today I played the map as_tundra ( http://www.cstrike-planet.com/maps/225-as_tundra ), and it has an incorporated restriction for certain weapons. I.e. as a terrorist you can't buy the semi-automatic sniper, scout, or the 4th rifle (called Krieg in my version).
How do you do that? I thought that was only possible as a server setting, but I didn't set any restrictions when I ran it.
I decompiled the map and checked the entities, but didn't find anything.
Also, does this just restrict buying that weapon or does it fully restrict that weapon in a map? Because I'd like to make a map in which you can't buy awp, but there is a tower in the middle of the map with an awp on the roof.
P.S. Coincidentally, is there a way to set the amount of ammo you get when you pick up a gun spawned with the armoury_entity? I can't seem to set it to anything other than the default 1 clip in the weapon + 2 extras.