[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.5 (0.6.3.5)

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 target is null.
fCraft..::..PlayerOpException This player does not have sufficient permissions, or is trying to spectate self.

See Also