Esempio n. 1
0
 /// <summary>
 /// Changes the default gamemode players are in when they spawn for the first time
 /// </summary>
 /// <param name="gamemode">the new default gamemode</param>
 public void DefaultGamemode(ID.Gamemode gamemode)
 {
     ForFunction.AddCommand(new DefaultGamemodeCommand(gamemode));
 }
Esempio n. 2
0
 /// <summary>
 /// Changes the selected players gamemode
 /// </summary>
 /// <param name="player">the <see cref="BaseSelector"/> to use</param>
 /// <param name="mode">the gamemode to change to</param>
 public void Gamemode(BaseSelector player, ID.Gamemode mode)
 {
     ForFunction.AddCommand(new GamemodeCommand(player, mode));
 }