Online list
#5

Quote:
Originally Posted by Nuke547
Посмотреть сообщение
This should work. And I know there is a more efficient way to do it with the string, but for now, you can do it by how many people you have on your server.
PHP код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
       new 
name[MAX_PLAYER_NAME], string[126];
       
GetPlayerName(i, name, sizeof(name));
       
format(string, sizeof(string), "%s\n%s",name);
       
showplayerdialog(playerid, DIALOG_STYLE_LIST, casenumber, "Users", string, "Select", "Cancel");
} 
Not gonna work as far as I know.
Reply


Messages In This Thread
Online list - by ArmyOps - 28.02.2012, 23:03
Re: Online list - by Nuke547 - 28.02.2012, 23:09
Re: Online list - by ArmyOps - 29.02.2012, 01:30
Re: Online list - by coole210 - 29.02.2012, 01:53
Re: Online list - by suhrab_mujeeb - 29.02.2012, 01:56
Re: Online list - by Jefff - 29.02.2012, 01:59

Forum Jump:


Users browsing this thread: 1 Guest(s)