Код:
if(playertextid == DealershipLeftArrow[playerid])
{
new tdstring[64], tdstringone[64];
if(DSBuySlot[playerid] == 0) return 1;
DSBuySlot[playerid]--;
SetIntVar(playerid, "VehiclePicked", DSCatCon[DSBuySlot[playerid]]);
format(tdstring, sizeof(tdstring), "%s", VehicleNames[DSCatCon[DSBuySlot[playerid]]-400]);
PlayerTextDrawSetString(playerid, DealershipCarName[playerid], tdstring);
format(tdstringone, sizeof(tdstringone), "Price: $%s", GetVehiclePrice(DSCatCon[DSBuySlot[playerid]]-400));
PlayerTextDrawSetString(playerid, DealershipCarPrice[playerid], tdstringone);
PlayerTextDrawSetPreviewModel(playerid, DealershipCarPreBL[playerid], DSCatCon[DSBuySlot[playerid]]);
PlayerTextDrawSetPreviewModel(playerid, DealershipCarPreBR[playerid], DSCatCon[DSBuySlot[playerid]]);
PlayerTextDrawSetPreviewModel(playerid, DealershipCarPreTL[playerid], DSCatCon[DSBuySlot[playerid]]);
PlayerTextDrawSetPreviewModel(playerid, DealershipCarPreTR[playerid], DSCatCon[DSBuySlot[playerid]]);
}
Here is a print screen of the preview that don't update.