Quote:
Originally Posted by Nero_3D
If the command didn't work with the zcmd layout why should it work with strcmp ?
Also I am not sure if you just misspelled it but it is Rec eived
Firts of all remove the ColorsSTR array, it is useless
pawn Код:
CMD:colourlist(playerid, params[]) { new dstring[2000] // max 20 chars per line * 100 (sizeof Colors) ; for(new i; i < sizeof Colors; i++) { format(dstring, sizeof dstring, "%s\n{%x}Colour #%d", dstring, Colors[i] >> 8, i); } return ShowPlayerDialogEx(playerid, DIALOG_MESSAGE, DIALOG_STYLE_LIST, "Vehicle Colours", dstring[1], "Okay", ""); }
|
Alright, I'll see if that works.
EDIT: