Players online with dialog
#2

try

pawn Код:
new string[50], name[32];
new count=0;
for(new i=0; i<MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i))
    {
        GetPlayerName(i, name, sizeof(name));
        format(string,sizeof(string),"%s\n",name);
        count++;
    }
}
ShowPlayerDialog(playerid,723,DIALOG_STYLE_LIST,"online players",string,"Ok", "Cancel");
Reply


Messages In This Thread
Players online with dialog - by friezakinght - 20.07.2014, 15:44
Re: Players online with dialog - by IceBilizard - 20.07.2014, 15:56
Re: Players online with dialog - by friezakinght - 20.07.2014, 15:57

Forum Jump:


Users browsing this thread: 1 Guest(s)