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

strip_weapons.lua.zip

  • Reuploaded by:
  • Uploaded: 1 year ago
  • Updated: 1 year ago
  • Type: Re-upload
  • Downloads: 7 (0 last 7 days)
  • Views: 22 (0 last 7 days)
  • Size: 549 B
  • Tags: re-upload
fixes a console command that is present in sandbox, but is never actually created. works exactly like assmods weapon restriction.
creates 1 console command with 2 arguements:
"sbox_weapons 1" gives weapons when a player spawns
"sbox_weapons 0" gives ONLY the toolgun, camera, and physgun
extract this to either:
C:\Program Files\Steam\steamapps\\garrysmod\garrysmod\lua\autorun (create autorun if it doesnt exist)
-or, for dedicated servers-
:///garrysmod/garrysmod/lua/autorun
-lastly, wine users-
/home//.wine/steamapps/garrysmod/garrysmod/lua/autorun
^your wine emulator could be different
enjoy.

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
              • strip_weapons.lua

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

  • strip_weapons.lua

BBCode:

HTML:

Social: