Click or drag to resize

BasePlayerSpectatePlayer Method (BasePlayer)

Makes this BasePlayer spectate (watch) another player.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual void SpectatePlayer(
	BasePlayer targetPlayer
)

Parameters

targetPlayer
Type: SampSharp.GameMode.WorldBasePlayer
The Player that should be spectated.
Remarks
Order is CRITICAL! Ensure that you use ToggleSpectating(Boolean) before SpectatePlayer(BasePlayer, SpectateMode).
See Also