Dialog help ! I give rep , thanks !!!
#5

like this ._.
btw u can store all player name into one string..
pawn Код:
CMD:checkwanted(playerid, params[])
{
    new szString[500],ee[50];
    for(new i = 0; i < MAX_PLAYERS; i ++)
    {
        if(IsPlayerConnected(i))
        {
            if(playerAccount[i][WantedLevel] >= 1)
            {
               
                format(ee, sizeof (ee), "[W:%d][ID:%d]%s\n",playerAccount[i][WantedLevel],i,GetName(i));
                strcat(szString, ee);
            }
        }
    }
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Title",szString,"Find", "Close");
    return 1;
}
DONT do what Runn3R told u...
Reply


Messages In This Thread
Dialog help ! I give rep , thanks !!! - by buburuzu19 - 06.11.2014, 08:05
Re: Dialog help ! I give rep , thanks !!! - by Runn3R - 06.11.2014, 08:29
Re: Dialog help ! I give rep , thanks !!! - by buburuzu19 - 06.11.2014, 08:32
Re: Dialog help ! I give rep , thanks !!! - by Runn3R - 06.11.2014, 08:33
Re: Dialog help ! I give rep , thanks !!! - by BroZeus - 06.11.2014, 08:34
Re: Dialog help ! I give rep , thanks !!! - by buburuzu19 - 06.11.2014, 08:49
Re: Dialog help ! I give rep , thanks !!! - by BroZeus - 06.11.2014, 08:54
Re: Dialog help ! I give rep , thanks !!! - by buburuzu19 - 06.11.2014, 09:03
Re: Dialog help ! I give rep , thanks !!! - by M0HAMMAD - 06.11.2014, 09:03
Re: Dialog help ! I give rep , thanks !!! - by buburuzu19 - 06.11.2014, 09:12

Forum Jump:


Users browsing this thread: 1 Guest(s)