Need advanced help.
#3

pawn Код:
new highest[8];
for(new d; d < sizeof(Karters); d++)
{
    for(new s; s < sizeof(KartCPs); s++)
    {
        if(KartCollected[d][s] == 0) { highest[d] = s; continue; }//Getting most collected items at s
    }
}
for(new m; m < sizeof(highest); m++)
{
    for(new n; n < sizeof(highest); n++)
    {
        if(highest[m] >= highest[n]) { pos[m] = n; }//Comparing
    }
}
Reply


Messages In This Thread
Need advanced help. - by ikey07 - 20.12.2013, 23:17
Re: Need advanced help. - by xVIP3Rx - 20.12.2013, 23:27
Re: Need advanced help. - by ikey07 - 20.12.2013, 23:33

Forum Jump:


Users browsing this thread: 2 Guest(s)