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

Syntax: GameRules.SetTeam( int teamId, ScriptHandle playerId ) 

Adds a player to a team. 

 

Copyright (c) 2012. All rights reserved.