/playerlist Only one players shows up ;/
#5

PHP код:
if(!strcmp(cmdtext"/testing"true))
{
    new 
name[MAX_PLAYER_NAME], lol[256], string[80];
    for(new 
0<MAX_PLAYERSi++)
    {
        if(!
IsPlayerNPC(i)) continue;
        
GetPlayerName(inameMAX_PLAYER_NAME);
        
format(stringsizeof string,"{FFFFFF}%d {64B500}%s,"iname);
        
strcat(lol,string);
    }
    
ShowPlayerDialog(playerid,100,DIALOG_STYLE_MSGBOX,"{64B500}Online:",lol,"OK","Exit");
    return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)