11.05.2012, 07:44
How do i force the paintjob to be colored as vehicle at OnVehicleSpawn or CreateVehicle?
I allready tried this:
OnVehicleSpawn(vehicleid){
ChangeVehiclePaintjob(vehicleid, vInfo[vehicleid][vPJ]);
ChangeVehicleColor(vehicleid, vInfo[vehicleid][vC1], vInfo[vehicleid][vC2]);
return 1;}
Same with CreateVehicle but the paintjobs is still having standard color, not the custom one.
Updated: I tried the same but ChangeVehicleColor(vehicleid, 3, 3); and it worked. Maybe the problem is function difficulties with vInfo array?
I allready tried this:
OnVehicleSpawn(vehicleid){
ChangeVehiclePaintjob(vehicleid, vInfo[vehicleid][vPJ]);
ChangeVehicleColor(vehicleid, vInfo[vehicleid][vC1], vInfo[vehicleid][vC2]);
return 1;}
Same with CreateVehicle but the paintjobs is still having standard color, not the custom one.
Updated: I tried the same but ChangeVehicleColor(vehicleid, 3, 3); and it worked. Maybe the problem is function difficulties with vInfo array?

