Skip to content

GamerulesΒΆ

string GameRules_GetGameMode()

int GameRules_GetTeamScore( int team )

int GameRules_GetTeamScore2( int team )

Used for round based game modes

int GameRules_GetTeamKills( int team )

int GameRules_GetTeamDeaths( int team )

string GameRules_GetTeamName( int team )

bool GameRules_TimeLimitEnabled()

bool GameRules_AllowMatchEnd()

int GameRules_GetClassMax( string class )

void GameRules_SetGameMode( string gameMode )

void GameRules_SetTeamScore( int team, int score )

void GameRules_SetTeamScore2( int team, int score )

Presumably used for round based game modes

void GameRules_EndMatch()

void GameRules_MarkGameStatePrematchEnding()

void GameRules_MarkGameStateWinnerDetermined()

void GameRules_ChangeMap( string mapName, string gameMode )

string GameRules_GetRecentMap( number unk1 )

string GameRules_GetRecentGameMode( number unk1 )

int GameRules_GetRecentTeamScore( number unk1, int team )

void GameRules_EnableGlobalChat( bool enabled )

string GameRules_GetUniqueMatchID()

void GameRules_SetDeadPlayersCanOnlySpeakToDeadPlayersInHudChat( bool b )