Add second color(Vehicle) - 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)
+--- Thread: Add second color(Vehicle) (
/showthread.php?tid=457059)
Add second color(Vehicle) -
Onfroi - 08.08.2013
Hello SA-MP members. How can I add two colors to the premier, for example black and white. Also can I do it with CreateVehicle or AddStaticVehicle, I've tried already with car colors IDs and RGBA and can't get it to work, it turns just red, I've also tried with ChangeVehicleColor and nothing, please help.
Thanks in advance.
Re: Add second color(Vehicle) -
Konstantinos - 08.08.2013
I think the premier accepts only one colour.
Re: Add second color(Vehicle) -
Admigo - 08.08.2013
https://sampwiki.blast.hk/wiki/Function:CreateVehicle
https://sampwiki.blast.hk/wiki/AddStaticVehicle
https://sampwiki.blast.hk/wiki/Vehicle_Color_IDs
pawn Код:
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay);
AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2);
Not all vehicles accepting 2 vehicle colours.
Re: Add second color(Vehicle) -
Luis- - 08.08.2013
Some vehicles only have one colour slot, but still use the two colours used with AddStaticVehicle, CreateVehicle or ChangeVehicleColor.
Re: Add second color(Vehicle) -
Onfroi - 08.08.2013
Hmm how come I've seen it in a server with the color green and in the middle it's heavy green, and I'm sure it's the Premier.
Re: Add second color(Vehicle) -
DanishHaq - 08.08.2013
It's definitely not the Premier... And if it wasn't you on that other server (i.e. you saw a screenshot) it was probably a mod.