Solved Uneven Teams

Discussion in 'Plugin Development' started by krazytraynz, Aug 19, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    krazytraynz

    I'm making a mingame plugin that needs 4 teams, but the amount of players in a game might not be divisible by 4. How can I assign random teams so that leftover players won't be left without a team, rather than waiting for a specific number of players?
     
  2. Offline

    Gamecube762

    Add them to a team with the least amount of players, if there are multiple, use a RNG to decide which team out of the available teams.
     
  3. Offline

    krazytraynz

    Gamecube762
    Wow, I was trying to make things way more complicated than they needed to be. Thanks!
     
  4. Offline

    xTrollxDudex

    Mod operator
     
Thread Status:
Not open for further replies.

Share This Page