Create a string for every player... Help please
#5

Quote:
Originally Posted by Fj0rtizFredde
Посмотреть сообщение
Why not a loop then check if the player is connected then get the the name of every player and display it? :P
which means? -.-

tried this:

pawn Код:
new string[256],string2[256];
                for(new i=0; i<MAX_PLAYERS; i++)
                {
                       format(string,sizeof(string),"%s",pName(i));
            }
            format(string2,sizeof(string2),"%s\n",string);
                ShowPlayerDialog(playerid,BANKDIALOG+4,DIALOG_STYLE_LIST,"San Fierro Bank System",string2,"Select","Cancel");
but it didn't work that well....
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)