SA-MP Forums Archive
Vehicle Color and PaintJob - 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: Vehicle Color and PaintJob (/showthread.php?tid=110043)



Vehicle Color and PaintJob - burcisCZ - 24.11.2009

I was wondering is there any function in SA-MP what he knows what the player has a color on a car like GetVehcileColor (vehicleid, color1, color2);?

And how do I set up when the player has paint job as it will give away HAT know it's paint job or a function DeletePaintJob (vehicleid, paintjob);

Thanks for the responses include no such can not find

Sorry for my bad english


Re: Vehicle Color and PaintJob - Mikep. - 24.11.2009

Paintjobs are 0 1 2 and 255. 255 = no paintjob.


Re: Vehicle Color and PaintJob - burcisCZ - 24.11.2009

Thank you for your reply, but somehow it does not work. When you set PaintJob at 255 so nothing happens. Not know what it is I want it to version 0.3

Код:
ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 255);
SetPlayerCameraPos(playerid, 837.3944,364.2856,21.2344);
SetPlayerCameraLookAt(playerid,833.7546,360.6693,20.0481);
Info[playerid][PTimer] = 3;