/playerlist Only one players shows up ;/
#4

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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)