Dialog format problem
#5

pawn Код:
if(Hitman[playerid] == 1);
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
         if(IsList[i] >= 1)
         {
             new string[1900];
             new pname[24];
             GetPlayerName(i,pname,sizeof(pname));
             format(string,sizeof(string),"%s(%d)",pname(i),i);
             ShowPlayerDialog(playerid,Hitlist,DIALOG_STYLE_MSGBOX,"Hit List",string,"Ok","");      
         }
    }
}
Sorry for poor indentation.

EDIT: Fixed

EDIT 2 : Its fine now, try it.
Reply


Messages In This Thread
Dialog format problem - by DarkLored - 25.03.2014, 01:32
Re: Dialog format problem - by DarkLored - 25.03.2014, 02:11
Re: Dialog format problem - by HitterHitman - 25.03.2014, 02:15
Re: Dialog format problem - by DarkLored - 25.03.2014, 02:25
Re: Dialog format problem - by HitterHitman - 25.03.2014, 02:33

Forum Jump:


Users browsing this thread: 1 Guest(s)