class KFMutator_MaxPlayers extends KFMutator
Config(MaxPlayers);
var globalconfig int MaxPlayers;
var globalconfig int MaxPlayersAllowed;
function InitMutator(string Options, out string ErrorMessage)
{
MyKFGI = KFGameInfo( WorldInfo.Game );
if(MyKFGI != none)
{
MyKFGI.MaxPlayers = MaxPlayers;
MyKFGI.MaxPlayersAllowed = MaxPlayersAllowed;
`log("SUCCESS! Max players set to:" @MaxPlayers @"Max allowed players set to:" @MaxPlayersAllowed);
}
}