19.07.2016, 18:05
(
Последний раз редактировалось JessThompson; 19.07.2016 в 19:33.
)
It does not update the preview when I click the arrow??
Here is a print screen of the preview that don't update.
I want it so when you click the grey arrows they change the car
http://prntscr.com/buxob5
Код:
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.
I want it so when you click the grey arrows they change the car
http://prntscr.com/buxob5