Stopping a string
#5

Here's the code.
pawn Код:
new String[950], String1[155];
    switch(dealerid) {
        case 3: {
            for(new i = pageNum; i != sizeof medClass; i++) {
                format(String1, sizeof String1, "{FFFFFF}%d\t{BE69FF}%s {21DB00}$%s", i, VehicleNames[medClass[i][dModel] - 400], number_format(medClass[i][dPrice]));
                strcat(String, "\n");
                if(i >= 10) {
                    strcat(String, "\n\n");
                    strcat(String, "Next Page >>");
                }
                strcat(String, String1);
                String[0] = EOS;
            }
            ShowPlayerDialog(playerid, DIALOG_LOW_DEALER, DIALOG_STYLE_LIST, "Low Class Dealership", String, "Purchase", "Cancel");
        }
    }
Reply


Messages In This Thread
Stopping a string - by Luis- - 01.08.2013, 23:59
AW: Stopping a string - by BigETI - 02.08.2013, 00:05
Re: Stopping a string - by Luis- - 02.08.2013, 00:07
Re: Stopping a string - by park4bmx - 02.08.2013, 00:07
Re: Stopping a string - by Luis- - 02.08.2013, 00:12
AW: Stopping a string - by BigETI - 02.08.2013, 00:19
Re: Stopping a string - by park4bmx - 02.08.2013, 00:22

Forum Jump:


Users browsing this thread: 1 Guest(s)