HELP! Dialog List Problem!
#4

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.
Reply


Messages In This Thread
HELP! Dialog List Problem! - by SuperChock - 19.01.2012, 20:16
Re: HELP! Dialog List Problem! - by Tannz0rz - 19.01.2012, 20:36
Re: HELP! Dialog List Problem! - by SuperChock - 19.01.2012, 20:48
Re: HELP! Dialog List Problem! - by Tannz0rz - 19.01.2012, 21:01
Re: HELP! Dialog List Problem! - by SuperChock - 19.01.2012, 21:04
Re: HELP! Dialog List Problem! - by viper_viper - 19.01.2012, 21:32
Re: HELP! Dialog List Problem! - by Tannz0rz - 19.01.2012, 21:38
Re: HELP! Dialog List Problem! - by FireCat - 19.01.2012, 21:42
Re: HELP! Dialog List Problem! - by Tannz0rz - 19.01.2012, 21:43
Re: HELP! Dialog List Problem! - by FireCat - 19.01.2012, 21:46

Forum Jump:


Users browsing this thread: 1 Guest(s)