Stopping a string
#7

There is a better way in doing this but I can't show u now.
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/n", i, VehicleNames[medClass[i][dModel] - 400], number_format(medClass[i][dPrice]));
                strins(String,String1,0);
                if(i >= 9) {
                    strins(String, "Next Page >>",strlen(String));
                    break;
                }
            }
            ShowPlayerDialog(playerid, DIALOG_LOW_DEALER, DIALOG_STYLE_LIST, "Low Class Dealership", String, "Purchase", "Cancel");
        }
    }
then u need to figure out how ur data is stored some showe the next page,
I migh done so mistakes as I'm on the phone
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)