How to spawn players without weapons in GMod
Type sbox_weapons 0 in the server console so players no longer spawn with the Half-Life 2 weapons on a Sandbox server.
sbox_weapons
Toggles whether players spawn with the default Half-Life 2 weapons on a Sandbox server.
sbox_weapons <0|1> Examples
sbox_weapons 0 Spawn without the HL2 weapon set.
Values
| Value | What it does |
|---|---|
| 0 | Off |
| 1Default | On |
Arguments
0|1Required- 1 gives the HL2 weapon set on spawn, 0 does not.
What it does
When on, every player receives the standard Half-Life 2 weapons each time they spawn. Set it to 0 for building servers where you do not want guns handed out. Weapons can still be spawned from the spawn menu unless you restrict that separately.
The game's own description: If enabled, each player will receive default Half-Life 2 weapons on each spawn
Good to know
- Takes effect the next time each player spawns.
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to garrysmod/cfg/server.cfg. New to this? Start a GMod server first.
Your own
GMod server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.