Skip to main content

Overview

The Zyrix API provides comprehensive spectating functions that allow staff members to monitor players discreetly and gather evidence of rule violations.

StartSpectating

Begin spectating a target player with various spectate modes.

Syntax

Parameters

  • staffId (number) - Server ID of the staff member
  • targetId (number) - Server ID of the player to spectate
  • spectateMode (string, optional) - Spectate mode: 'default', 'cinematic', 'free'

Example

StopSpectating

Stop spectating and return to normal view.

Syntax

Advanced Examples

Spectate Queue System

Evidence Gathering System