PDA

View Full Version : Question of police car


DerickClark
21/05/2013, 12:47 AM
How i go to the regular color?
Of police car
Color
i wanna:
http://wiki.sa-mp.com/wroot/images2/0/0a/Vehicle_596.jpg

Vehicle_AddStatic(596,1575.87,-1614.82,13.10,177.37,0,0, -1); //LS Police Car

http://i42.tinypic.com/24213.png

[CG]Milito
21/05/2013, 12:50 AM
I don't know the parameters of your Vehicle_AddStatic but
check this http://wiki.sa-mp.com/wiki/Vehicle_Color_IDs

Apprentice
21/05/2013, 12:52 AM
Vehicle_AddStatic(596,1575.87,-1614.82,13.10,177.37,0,0,1); //LS Police Car

DerickClark
21/05/2013, 12:56 AM
Vehicle_AddStatic(596,1575.87,-1614.82,13.10,177.37,0,0,1); //LS Police Car

i got it.

Apprentice
21/05/2013, 01:03 AM
Your code:
Vehicle_AddStatic(596,1575.87,-1614.82,13.10,177.37,0,0, -1); //LS Police Car
Vehicle_AddStatic(596,1575.87,-1614.82,13.10,177.37,0,0,1); //LS Police Car
My code:

By having -1 in the color you are telling it to use a random color. By putting it to 1, you are telling it to be white.

DerickClark
21/05/2013, 01:04 AM
Your code:
Vehicle_AddStatic(596,1575.87,-1614.82,13.10,177.37,0,0, -1); //LS Police Car
Vehicle_AddStatic(596,1575.87,-1614.82,13.10,177.37,0,0,1); //LS Police Car
My code:

By having -1 in the color you are telling it to use a random color. By putting it to 1, you are telling it to be white.

Dude i got it....


The Right code:
Vehicle_AddStatic(596,1575.87,-1614.82,13.10,177.37,-1,-1, -1); //LS Police Car

Apprentice
21/05/2013, 01:07 AM
Try making a black & white bullet using -1 in the color. Won't work as well as 0,1.

DerickClark
21/05/2013, 01:18 AM
Try making a black & white bullet using -1 in the color. Won't work as well as 0,1.

Read the post... Again.