Wait i'll find function and post there
Edit:
Code:
public ServerClient getMostTop()
{
int temp = 0;
ServerClient guy = null;
List<ServerClient> players = GetClients();
for (int i = 0; i < players.Count; i++)
{
if (player[i].stats.kills >= temp)
{
temp = player[i].stats.kills;
guy = players[i];
}
}
return guy;
}
(Original credits to creators of rotu mod, i have rewritten this function to c#)
You can create variables like
Code:
serverclient top1
serverclient top2
serverclient top3
Then make it
Code:
top1 = getMostTop();
top2 = getMostTop();
top3 = getMostTop();
And add this line to 'getMostTop'
if(player[i].stats.kills >= temp
&& players[i] != top1 && players[i] != top3 && players[i] != top4 )
{
guy = etc....
}
Then print their names.
It was working perfectly in my killme zombiemod.