SetPlayerToSpectator

From GT-MP
Jump to: navigation, search
SetPlayerToSpectator
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#

Function Description

Syntax

API.setPlayerToSpectator(Client player);

Required Arguments

  • player: parameter input should be in Client type.

Usage example(s)

Example Description

API.setPlayerToSpectator(Client player);


References