Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
ChangeSpectatorMode
Syntax
C++
int ChangeSpectatorMode(IFunctionHandler* pH, ScriptHandle playerId, int mode, ScriptHandle targetId);
Parameters 
Description 
ScriptHandle playerId 
Player identifier. 
int mode 
New spectator mode. 
ScriptHandle targetId 
Target identifier. 

Syntax: GameRules.ChangeSpectatorMode( ScriptHandle playerId, int mode, ScriptHandle targetId ) 

Changes the spectator mode.

Copyright (c) 2012. All rights reserved.