Jump to content

Help Vehicle color !!!!


Recommended Posts

Hello

I wanted to know and if possible will leave color of vehicle same color the RadarArea ???

someArea =  createRadarArea  (  2654.64087, 971.73938 , 75 , 100 , 0 , 0 , 0 , 255  ) 
local flag = setRadarAreaColor ( someArea, 255, 85, 85, 170 ) 
car = createVehicle ( 411, 2662.76196, 981.67383, 6.73438, 0, 0, 0, "TEAM" ) 
setVehicleColor ( car, 255, 2, 0, 255 ) 

Sorry My English

Link to comment
Yes, you'll only need R, G, B for the vehicle color.
someArea =  createRadarArea  (  2654.64087, 971.73938 , 75 , 100 ,0, 255, 0, 255  ) 
local r,g,b,a = getRadarAreaColor ( someArea ) 
car = createVehicle ( 411, 2662.76196, 981.67383, 6.73438, 0, 0, 0, "TEAM" ) 
setVehicleColor ( car, r,g,b,a ) 

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...