Dialog
#5

If you show the dialog inside the loop your result will be unavoidable
Simply replacing SendClientMessage with ShowPlayerDialog wont work...

PHP код:
if(listitem == 0) {
    new
        
dia[1024]
    ;
    for(new 
GetPlayerPoolSize(); >= 0; --i) {
        if(
GetPlayerName(igiveplayersizeof giveplayer) && (PlayerInfo[i][pMember] == || PlayerInfo[i][pLeader] == 1)) {
            
format(diasizeof dia"%s\n Name: %s | Rank %d | Ph: %d"diagiveplayerPlayerInfo[i][pRank], PlayerInfo[i][pPtel]);
        }
    }
    if(
dia[0] == EOS) {
        
dia "\n No Members Online!";
    }
    
ShowPlayerDialog(playerid1DIALOG_STYLE_MSGBOX"San Andreas Police Department"dia[1], "Close""");

Reply


Messages In This Thread
Dialog - by Ugaustin - 02.08.2015, 23:12
Re: Dialog - by Ugaustin - 02.08.2015, 23:54
Re: Dialog - by RowdyrideR - 03.08.2015, 00:18
Re: Dialog - by Variable™ - 03.08.2015, 00:26
AW: Dialog - by Nero_3D - 03.08.2015, 00:39

Forum Jump:


Users browsing this thread: 1 Guest(s)