Quote:
Originally Posted by SuperChock
pawn Код:
new GroupSTr[2500], eX; foreach(Player, PLAY) { format(sTrinG, sizeof(sTrinG), "{FFFFFF}%s", pName(PLAY)); if(eX) strcat(GroupSTr, "\n"); strcat(GroupSTr, sTrinG); eX = 1; } ShowPlayerDialog(playerid, 853, 2, "Groups", GroupSTr, "Select", "Back");
|
Even then it's relatively unreadable.
Try doing a simple
Код:
printf("%d", PLAY);"
test to see what exactly foreach is giving you.