Author Topic: TDM- Sort Weighting.  (Read 346 times)

I am just curious to know how this works. I am making a gamemode that requires 1 person on 1 team, and the rest on the other.

I guess that would work but I think it makes a max on each team but I may be wrong

Sorry for 2nd post but try setting it to 1

%singleteam = getRandom(0, clientGroup.getCount());
//pick any random player

for(%a = 0; %a < clientGroup.getCount(); %a++)
    if(%a != %singleteam)
        //add clientGroup.getObject(%a) to the team