Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
ChangePlayerClass
Syntax
C++
int ChangePlayerClass(IFunctionHandler * pH, int channelId, const char * className);
Parameters 
Description 
int channelId 
Channel identifier. 
const char * className 
Name of the new class for the player. 

Syntax: GameRules.ChangePlayerClass( int channelId, const char *className ) 

Changes the player class. 

 

Copyright (c) 2012. All rights reserved.