ChangeVehiclePaintjob bug... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ChangeVehiclePaintjob bug... (
/showthread.php?tid=276635)
ChangeVehiclePaintjob bug... -
CoaPsyFactor - 14.08.2011
Hello there,
So I have this one bug, I create vehicle, it loads with mods, and when it need to change paintjob, it change it, but in one sec, it just set vehicle color to black, does any one know what bug can be?
pawn Код:
if(PlayerVehicle[playerid][p_Paintjob] >= 0 || PlayerVehicle[playerid][p_Paintjob] <= 2){
ChangeVehiclePaintjob(PlayerVehicle[playerid][p_Vehicle_ID], PlayerVehicle[playerid][p_Paintjob]);
}
Spawned[playerid] = 1;
return 1;
Re: ChangeVehiclePaintjob bug... -
CoaPsyFactor - 15.08.2011
any 1?
Re: ChangeVehiclePaintjob bug... -
Libra_PL - 15.08.2011
Try this with setting vehicle colour to white - (colour ID 1).