Weapons Restrict
/addons/counterstrikesharp/configs/plugins/Deathmatch/Deathmatch.json
You can set weapons restrictions for individual modes.
If the mode does not contain a specific weapon, you do not need to create a weapon restrict for that mode ID
You can set values for individual teams or for all.
Additionally, the restriction is divided into nonVIP and VIP players.
Weapons restrict does not apply to bots!
How to restrict certain weapon ?
If the weapon is not in your primary/secondary weapons list for current custom mode, you don't need to add that weapon to the restrict.
You cannot combine Team or All weapons restrict! It must always be set either to Team or All.
If you set the value to
0
, it means the weapon is not restricted.If you set the value to
-1
, it means the weapon is fully disabled.If
RandomWeapons
are true in a specific custom mode, then all weapons in that custom mode are not restricted.
Examples:
Last updated