12.03.2015, 17:47
Quote:
Should be something like this
Code:
new bool:biggest[MAX_PLAYERS]; for(new p = 0; p < MAX_PLAYERS; p ++) { for(p; p<MAX_PLAYERS; p++) { check all players money and compare it to this player, if someone has more, break this loop and check the other players through the upper loop and set biggest[playerid] = true; and all others to false; } } |