This restriction script allows the server owner to edit the custom weapon restrictions both via the server (script) or ingame (say command).
The following commands are available:
!restrict <weapon name> - Restricts a weapon
!unrestrict <weapon name> - Unrestricts a weapon
!restrict knife_only - enables knife only
Be sure to type in only the weapons name, not the weapon_ prefix.
Example: !restrict m249 <---- Correct
!restrict knife_only is used to enable knife only rounds.
!unrestrict knife_only is used to disable knife only rounds.
Installation
[b]IMPORTANT NOTE:[/b] You must install an autokick disabler for this mod to work. To do this, simply go to: http://forums.eventscripts.com/viewtopic.php?f=27&t=42620 and follow the very simple installation guide.
Once installed, complete the following:
Extract script to your eventscripts directory (...cstrike/addons/eventscripts)
Edit the settings to your liking under block config. Be sure to set your admins etc.
Add es_load wrestriction to autoexec.cfg and restart server
Alternatively, type es_load wrestriction onto console to load the script in game.
Version Notes For 1.0
Updated on: 2012-08-27 08:24:21 EST by Im the new guy (View Zip Contents)
This script was originally designed for my mvp mod but I am quite happy with it so I decided to release it to the world!
say command support added
stops weapon_ prefix if typed