This file was automatically imported from the old site. You can see other imported files on the reuploads page.

  • Reuploaded by:
  • Uploaded: 5 years ago
  • Updated: 5 years ago
  • Type: Re-upload
  • Downloads: 44 (0 last 7 days)
  • Views: 120 (0 last 7 days)
  • Size: 3.07 KB
  • Tags: re-upload
To install, extract to garrysmod/garrysmod/lua/autorun/
Console Variables
This offers a few simple cvars to configure the script:
wr_enabled (default 1)
Enables or disables the weapon restricter, 1 to enable
wr_sandboxonly (default 1)
Makes it so the settings on take effect on the sandbox gamemode, set to 0 to make it work with all gamemodes
wr_mode (default 0)
Set this to 0 to use a white, 1 for a black list, the black/white list is defined by wr_weapons
wr_disablepickup (default 1)
Disable players from picking up weapons on the floor, so they can't kill npcs with props and then steal the weapons
wr_weapons (default weapon_physgun;weapon_physcannon;gmod_tool;gmod_camera)
The list of weapons allowed/disallowed (see wr_mode), seperated by semi-colon (;)
wr_ignoreusergroups (default superadmin;admin)
Usergroups not affected by the script
*Notification popups for blocked weapons
*Removed listen server host fake usergroup, it wasn't needed!

This download looks like a lua file. You need to place it in your lua folder inside the Garry's Mod folder.

You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • lua
            • autorun
              • weapon_restrict.lua
              • readme.txt

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • weapon_restrict.lua
  • readme.txt