02.08.2013, 00:22
There is a better way in doing this but I can't show u now.
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
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");
}
}
I migh done so mistakes as I'm on the phone