/colourlist isn't working.
#4

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 Received

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", "");
}
Reply


Messages In This Thread
/colourlist isn't working. - by seanny - 20.04.2014, 12:38
Re: /colourlist isn't working. - by lonalovegood1 - 20.04.2014, 12:40
Re: /colourlist isn't working. - by seanny - 20.04.2014, 12:42
AW: /colourlist isn't working. - by Nero_3D - 20.04.2014, 13:10
Re: AW: /colourlist isn't working. - by seanny - 20.04.2014, 13:32
AW: /colourlist isn't working. - by Nero_3D - 21.04.2014, 08:54

Forum Jump:


Users browsing this thread: 1 Guest(s)