Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CanChangeSpectatorMode
Syntax
C++
int CanChangeSpectatorMode(IFunctionHandler* pH, ScriptHandle playerId);
Parameters 
Description 
ScriptHandle playerId 
Player identifier. 

Syntax: GameRules.CanChangeSpectatorMode( ScriptHandle playerId ) 

Check if it's possible to change the spectator mode.

Copyright (c) 2012. All rights reserved.