Get Highest Variable?
#8

pawn Код:
new CurrentHighest = 0;
new HighestPlayerID;
for(new i=0; i<MAX_PLAYERS; i++)
{
    if (pokerpoint[i] > CurrentHighest)
    {
        HighestPlayerID = i;
        CurrentHighest = pokerpoint[i];
       
    }
}
Reply


Messages In This Thread
Get Highest Variable? - by Admigo - 24.12.2011, 06:30
Re: Get Highest Variable? - by [ABK]Antonio - 24.12.2011, 07:17
Re: Get Highest Variable? - by Admigo - 24.12.2011, 13:22
Re: Get Highest Variable? - by Ash. - 24.12.2011, 13:25
Re: Get Highest Variable? - by Admigo - 24.12.2011, 13:38
Re: Get Highest Variable? - by Ash. - 24.12.2011, 13:40
Re: Get Highest Variable? - by Admigo - 24.12.2011, 13:41
Re: Get Highest Variable? - by Rob_Maate - 24.12.2011, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)