Alright well, for now, I made it so only the main player of a duo will get their queue points reset. The second player will keep the points and become the boss for the next round (I hope).
The main reason for why I didn't implement random selection just yet is because I have no fucking clue what the code is doing. Seriously. Look at it:
if (playing > 2)
for (new i = 1; i <= MaxClients; i++)
{
KvRewind(BossKV[Special[i-1]]);
KvGetString(BossKV[Special[i-1]], "companion", s, 64);
if (StrEqual(s,""))
break;
Boss = FindBosses(see);
if (PickSpecial(i,i-1))
{
KvRewind(BossKV[Special]);
for (new pingas = 0; Boss == Boss[i-1] && pingas < 100; pingas++)
Boss = FindBosses(see);
see[Boss] = true;
BossLivesMax = KvGetNum(BossKV[Special], "lives",1);
SetEntProp(Boss, Prop_Data, "m_iMaxHealth",1337);
if (LastClass[Boss] == TFClass_Unknown)
LastClass[Boss] = TF2_GetPlayerClass(Boss);
}
else
Boss = 0;
}
