[SOLVED] For statement messes up
#2

I think the problem is here:
pawn Код:
for(new c = 0; c <= 8; c++)
{
   SendFormattedMessage(playerid, COLOR_WHITE, "%d] %s - %d", c++, GetPlayerNameByPhone(Contacts[playerid][c]), GetPlayerPhoneByName(playerid));
}
You do c++ in for loop, that's good, but there is c++ once again in SendFormattedMessage function. Just remove the ++, leave the c.
Reply


Messages In This Thread
[SOLVED] For statement messes up - by kevin974 - 03.09.2009, 11:52
Re: [HELP] For statement messes up - by Correlli - 03.09.2009, 13:31
Re: [HELP] For statement messes up - by kevin974 - 03.09.2009, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)