15.10.2013, 19:30
If it's a personal car, with a savable variable for the color(s), then you could just set the car color 2 of the first beautiful code and then put the car color 1 as the inputtext if you get what I mean, i.e.:
Otherwise if you don't, some guy made an include for GetVehicleColor, here: https://sampforum.blast.hk/showthread.php?tid=176496.
pawn Код:
ChangeVehicleColor(vehicleid, VehicleData[vehicleid][vColor1], strval(inputtext))