mp_allowspectators

🟦 Executable on Client

mp_allowspectators <value>

toggles whether the server allows spectator mode or not

Note:

The value is synced between the server and all clients.