mp_forcecamera
🟦 Executable on Client
mp_forcecamera <value>
Restricts spectator modes for dead players. 0 = Any team. 1 = Only own team. 2 = No one; fade to black on death (previously mp_fadetoblack).
Note:
The value is synced between the server and all clients.