dialogs help
#9

Something like this

Код:
CMD:COMMANDNAME(playerid, paramas[])
{
    new string[1024]
    for(new x=0; x< MAX_PLAYERS; x++) 
    { //x = MAX_PLAYERS 
        if(Eventr[x] == 1) 
        { 
            format(string, sizeof(string), "%s\n<%d>{66FF66}%s", string, x, GetPlayerName(x,playname,sizeof playname));
        }
    }
    ShowPlayerDialog(playerid, JustShow, DIALOG_STYLE_LIST, "TITLE", string, "OK", "OK");
    return 1;
}
ThatFag was first, Guess mine is just cleaner version and I know it works because it how I do it in my gamemode :P
Reply


Messages In This Thread
dialogs help - by silverms - 04.03.2017, 17:44
Re: dialogs help - by Toroi - 04.03.2017, 18:01
Re: dialogs help - by silverms - 04.03.2017, 18:03
Re: dialogs help - by Toroi - 04.03.2017, 18:08
Re: dialogs help - by silverms - 04.03.2017, 18:17
Re: dialogs help - by Toroi - 04.03.2017, 18:39
Re: dialogs help - by silverms - 04.03.2017, 18:48
Re: dialogs help - by ThatFag - 04.03.2017, 19:18
Re: dialogs help - by JessThompson - 04.03.2017, 19:23
Re: dialogs help - by silverms - 04.03.2017, 19:30

Forum Jump:


Users browsing this thread: 2 Guest(s)