[This is preliminary documentation and is subject to change.]

Starts spectating the given player.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public bool Spectate(
	Player target
)

Parameters

target
Player
Player to spectate.

Return Value

True if this player is now spectating the target. False if this player has already been spectating the target.

Exceptions

ExceptionCondition
System..::..ArgumentNullException If target is null.
fCraft..::..PlayerOpException If this player does not have sufficient permissions, or if trying to spectate self.

See Also