SA-MP Forums Archive
Question of police car - 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: Question of police car (/showthread.php?tid=438582)



Question of police car - DerickClark - 20.05.2013

How i go to the regular color?
Of police car
Color
i wanna:
https://sampwiki.blast.hk/wroot/images2/...ehicle_596.jpg

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



Respuesta: Question of police car - [CG]Milito - 20.05.2013

I don't know the parameters of your Vehicle_AddStatic but
check this https://sampwiki.blast.hk/wiki/Vehicle_Color_IDs


Re: Question of police car - Apprentice - 20.05.2013

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


Re: Question of police car - DerickClark - 20.05.2013

Quote:
Originally Posted by Apprentice
Посмотреть сообщение
Vehicle_AddStatic(596,1575.87,-1614.82,13.10,177.37,0,0,1); //LS Police Car
i got it.


Re: Question of police car - Apprentice - 21.05.2013

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.


Re: Question of police car - DerickClark - 21.05.2013

Quote:
Originally Posted by Apprentice
Посмотреть сообщение
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


Re: Question of police car - Apprentice - 21.05.2013

Try making a black & white bullet using -1 in the color. Won't work as well as 0,1.


Re: Question of police car - DerickClark - 21.05.2013

Quote:
Originally Posted by Apprentice
Посмотреть сообщение
Try making a black & white bullet using -1 in the color. Won't work as well as 0,1.
Read the post... Again.