Level.Game.MaxPlayers = NewMaxPlayers;
class KFSettingsTest extends Mutator;
function PostBeginPlay()
{
Level.Game.StartingCash = 500;
}
defaultproperties
{
GroupName="KFSettingTest"
FriendlyName="Setting Test"
Description="Mutator to handle the settings"
}
class KFSettingsTest extends Mutator;
function PostBeginPlay()
{
KFGameType(Level.Game).StartingCashNormal = 9999;
KFGameType(Level.Game).MinRespawnCashNormal = 9999;
Level.Game.MaxPlayers = 7; // Doesn't work
SetTimer(1, false);
}
function Timer()
{
Level.Game.MaxPlayers = 7; // Does
}
defaultproperties
{
GroupName="KFSettingTest"
FriendlyName="Setting Test"
Description="Mutator to handle the settings"
}