SetSpectatability
Allows or disallows a player to be spectated.
Syntaxโ
SetSpectatability @players new_state
Argumentsโ
| Name | Required | Type | Description |
|---|---|---|---|
players | Yes | Player variable (e.g. @all, @classDPlayers) | |
new state | Yes | bool (true or false) value |
On a running serverโ
Use serhelp SetSpectatability to inspect the reference generated by your installed SER version.