ScriptEvent:setSpectateClient

From Mod Wiki

Parameters

entity player -- Player to spectate, or null for free-fly.

Result

None.

Supported By

idPlayer

Functionality

Sets the player that this player is to spectate, or null to switch to free-fly mode.