/playerlist Only one players shows up ;/
#12

Quote:
Originally Posted by Ricop522
Посмотреть сообщение
I say:
"I think this works."

I retired this from my gamemode, the /list of the cars .
You just copy my code and remove a little things.


Att, Ricop522.
he fixed it. your code would've actually returned an error.

Quote:
Originally Posted by Donya
Посмотреть сообщение
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)