Array + Loop
#3

Remove the numbers in the array; really unnecessary. You could just do it like:
pawn Код:
for(new i = 0; i < sizeof(GW_Name_ID); ++i)
{
       printf("ID: %i Name: %s", i, GW_Name_ID[i]);
}
Reply


Messages In This Thread
Array + Loop - by Manyula - 04.07.2014, 14:42
Re: Array + Loop - by greentarch - 04.07.2014, 14:47
AW: Array + Loop - by Mellnik - 04.07.2014, 14:47
Re: Array + Loop - by Jefff - 04.07.2014, 14:52
Re: Array + Loop - by greentarch - 04.07.2014, 14:58
Re: Array + Loop - by Manyula - 04.07.2014, 21:10
Re: Array + Loop - by Jefff - 04.07.2014, 22:59

Forum Jump:


Users browsing this thread: 1 Guest(s)