Jump to content

Rx_Mutator_MaxPlayers


Saengerkrieg12

Recommended Posts

Hello,

Is that Script Correct?

/**
 * Copyright (C) 2015 Jessica James - All Rights Reserved.
 */

class Rx_Mutator_MaxPlayers extends UTMutator config(AgentMutators);

var int max_players;

function InitMutator(string Options, out string ErrorMessage)
{
	WorldInfo.Game.MaxPlayersAllowed = max_players;
	WorldInfo.Game.MaxPlayers = max_players;
	Super.InitMutator(Options, ErrorMessage);
}


defaultproperties
{
    max_players=52
}

Saengerkrieg12

Rx_Mutator_MaxPlayers.uc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...