Colorlist Command Question.
#5

pawn Код:
new
    info[3343],
    count = -1;

for (new i; i != sizeof (gVehicleColors); ++i)
{
    format(info, sizeof (info), "%s{%06x}#%03i ", info, gVehicleColors[i] >>> 8, i);
    if (++count == 15)
    {
        strcat(info, "\n", sizeof (info));
        count = -1;
    }
}
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Vehicle Colours", info, "Close", "");
Replace ShowPlayerDialog and its arguments with those easyDialog uses.
Reply


Messages In This Thread
Colorlist Command Question. - by rappy93 - 27.05.2014, 14:27
Re: Colorlist Command Question. - by Scrillex - 27.05.2014, 14:39
Re: Colorlist Command Question. - by Konstantinos - 27.05.2014, 14:50
Re: Colorlist Command Question. - by rappy93 - 27.05.2014, 15:05
Re: Colorlist Command Question. - by Konstantinos - 27.05.2014, 15:30
Re: Colorlist Command Question. - by rappy93 - 27.05.2014, 15:35
Re: Colorlist Command Question. - by Konstantinos - 03.06.2014, 16:58

Forum Jump:


Users browsing this thread: 1 Guest(s)