Help with car color
#1

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)
Reply
#2

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);
Reply
#3

Dude, is this function change all car colors ? I want to change some of it, not all.
Reply
#4

For reason it has vehicleid param. It will change only used vehicle ID colors. Also in AddStaticVehicle last 2 params are colors.
Reply
#5

Read wiki first please. https://sampwiki.blast.hk/wiki/AddStaticVehicle
pawn Код:
AddStaticVehicle(468,2498.4863,-1646.6752,13.2135,183.6271,COLOR1,COLOR2);
Reply
#6

Thanks all!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)