UnspectatePlayer

From GTA Network Wiki
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 SpectatePlayer and this function will unspectate you if you are spectating a player.

Syntax

void NAPI.Player.UnspectatePlayer(Client player);

Required Arguments

  • player: parameter input should be in Client type.

Usage example(s)

Example Description

NAPI.Player.UnspectatePlayer(player);

Changelog

Version Description
1.0 Release.

References