Get the max gang score
#1

i have a problem.
I like to get the max gang score from all gangs.

but dont work?
In game does not come the right gang with the max score, seperate come the first gang.

my code:
pawn Код:
if(strcmp("/toplist", cmd, true) == 0)
    {
    for(new i = 0; i < MAX_GANGS; i++)
    {
    if(GangInfo[i][gangScore] > i)
    {
    format(string, sizeof(string), "%d", GangInfo[i][gangScore]);
    SendClientMessageToAll(rot,string);
    }
     }
     }
Reply


Messages In This Thread
Get the max gang score - by Headshot1108 - 06.03.2010, 11:08
Re: Get the max gang score - by dice7 - 06.03.2010, 11:37
Re: Get the max gang score - by Headshot1108 - 06.03.2010, 12:44
Re: Get the max gang score - by ipsBruno - 17.04.2010, 02:43

Forum Jump:


Users browsing this thread: 1 Guest(s)