Help with car color - 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: Help with car color (
/showthread.php?tid=277660)
Help with car color -
Setkus - 18.08.2011
Hey guys,
AddStaticVehicle(468,2498.4863,-1646.6752,13.2135,183.6271,46,46);
Here is the code. All i want to know, where i can change car color?

(i know, this is stupid question, but i'm dont knowXD)
Re: Help with car color -
ElieJabbour - 18.08.2011
Quote:
Originally Posted by Setkus
Hey guys,
AddStaticVehicle(468,2498.4863,-1646.6752,13.2135,183.6271,46,46);
Here is the code. All i want to know, where i can change car color?  (i know, this is stupid question, but i'm dont knowXD)
|
pawn Код:
ChangeVehicleColor(vehicleid,color1,color2);
Example, For black.
pawn Код:
ChangeVehicleColor(vehicleid, 0, 0);
Re: Help with car color -
Setkus - 18.08.2011
Dude, is this function change all car colors ? I want to change some of it, not all.
Re: Help with car color -
[MG]Dimi - 18.08.2011
For reason it has vehicleid param. It will change only used vehicle ID colors. Also in AddStaticVehicle last 2 params are colors.
Re: Help with car color -
Kitten - 18.08.2011
Read wiki first please.
https://sampwiki.blast.hk/wiki/AddStaticVehicle
pawn Код:
AddStaticVehicle(468,2498.4863,-1646.6752,13.2135,183.6271,COLOR1,COLOR2);
Re: Help with car color -
Setkus - 18.08.2011
Thanks all!