View screenshot at "more images"What am I?
This addon can be handy if you run a no summoning server (For example: Don't allow deagles on scoutzknivez). That's why I made this.What does it do?
Whenever somebody shoots a gun which is forbidden on the map, it'll activate.
To prevent people getting punished using a gun which wasn't allowed on an old map, the allowed var resets every round.Note
This is most likely only handy for mods where you're able to spawn guns on maps you don't want them to. (See below)Please note that this is my first (and most likely last) addon.Code for adding maps:
First go to this line (22):
if(server_var(thismap) in "scoutzknivez awp_snipertowers") do
Add the mapname (without .bsp) within the doublequotes.
Then go to this part:
if(server_var(thismap) equalto "aim_deagle7k") do
es_xsetinfo "allowed" "weapon_knife weapon_deagle weapon_nade"
There just add like this:
if(server_var(thismap) equalto "MAPNAME") do
es_xsetinfo "allowed" "Allowed guns"