24.12.2011, 06:30
Heey all,
How can i detect the highest variable from all players that is connected?
Thanks Admigo
How can i detect the highest variable from all players that is connected?
Thanks Admigo
new CurrentHighest = 0;
new HighestPlayerID;
for(new i=0; i<MAX_PLAYERS; i++)
{
if (pokerpoint[i] > CurrentHighest)
{
HighestPlayerID = i;
CurrentHighest = pokerpoint[i];
}
}