06.07.2011, 19:05
pawn Код:
if(!strcmp(cmdtext, "/testing", true))
{
new name[MAX_PLAYER_NAME], lol[256] = "* ";
for(new i = 0; i <MAX_PLAYERS; i++)
{
if(IsPlayerNPC(i)) continue;
GetPlayerName(i,name,MAX_PLAYER_NAME);
format(lol, 256, "{FFFFFF}%s {64B500}%s,", lol, name);
}
ShowPlayerDialog(playerid,100,DIALOG_STYLE_MSGBOX,"{64B500}Online:",lol,"OK","Exit");
return 1;
}