Jump to content

Colour Cars HEX


BorderLine

Recommended Posts

Hi forum

well i have this question

for example i have private cars

with this code

vehicle1 = createVehicle ( 411, -61.252086639404, -303.81872558594, 5.2296872138977, 0, 0, 90   )  
  
setVehicleHeadLightColor (vehicle1, 0, 200, 255) 
setVehicleColor ( vehicle1, 0, 0, 0, 0 ) 
addVehicleUpgrade (vehicle1, 1079) 
addVehicleUpgrade (vehicle1, 1010) 
  

only i can put gta colors, with id

but now in mta 1.1 have a new sistem with RGB/HEX Colours

can be posible make this?

make a car with script and put rgb/hex colour?

Link to comment
vehicle1 = createVehicle ( 411, -61.252086639404, -303.81872558594, 5.2296872138977, 0, 0, 90   ) 
  
setVehicleHeadLightColor (vehicle1, 0, 200, 255) 
setVehicleColor ( vehicle1, getColorFromString("#FF0000") ) -- It'll set the vehicle color to RED. 
addVehicleUpgrade (vehicle1, 1079) 
addVehicleUpgrade (vehicle1, 1010) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...