How to disable spectators in CS 1.6
Type allow_spectators 0 in the server console and players can no longer pick Spectate in the team menu. allow_spectators 1 allows it again.
allow_spectators
Allows or blocks players from joining the Spectator team.
allow_spectators <0|1> Examples
allow_spectators 0 Force everyone onto a team.
allow_spectators 1 Let players watch from the Spectator team.
Values
| Value | What it does |
|---|---|
| 0 | Off |
| 1Default | On |
Arguments
0|1Required- 1 allows the Spectator team, 0 blocks it.
What it does
With the default 1, players can pick Spectate in the team menu and watch the game without playing. Set it to 0 to keep every slot for active players. Players already spectating are not moved when you change it.
Good to know
- Dead players on a team can still watch the round; use
mp_forcecamerato limit what they see.
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 cstrike/server.cfg. New to this? Start a CS 1.6 server first.
Your own
CS 1.6 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.