UnspectatePlayer

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

This function works if you are spectating on a player using the function setPlayerToSpectatePlayer and this function will unspectate you if you are spectating a player.

Syntax

API.unspectatePlayer(Client player);

Required Arguments

  • player: parameter input should be in Client type.

Usage example(s)

Example Description

API.unspectatePlayer(Client player);

References