03.06.2014, 16:52
Or Try This ...
Код:
CMD:clist(playerid, params[]) { 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, 9666, DIALOG_STYLE_MSGBOX, "Vehicle Colours", info, "Close", ""); return 1; }