Help making a long dialog list using strings
#8

Quote:
Originally Posted by eblood1
Посмотреть сообщение
I didn't even notice, I just editted the format.
Here you go:
pawn Код:
if(!strcmp(cmdtext, "/soldornot", true))
{
    new hugestring[500];
    for(new h = 0; h != MAX_COMPANIES; h++)
        format(hugestring, sizeof(hugestring),"%s%s\n", hugestring, CompanyNames[h]);
    ShowPlayerDialog(playerid, BANK_DIALOGID, DIALOG_STYLE_LIST, "Company's", hugestring, "Info", "Exit");
    return 1;
}
No ....if i try it with a clientmessage instead is does work though..i still only see the last cmpany
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)