Jump to content

setVehicleColor


MIKI785

Recommended Posts

Posted

Hi,

I want to change color of car, but on the wiki it says that this function accept GTA's 0-126 only.. but I want to use 1.1's RGB feature. How? Is it another function? I didn't find it among vehicle releated functions on the wiki..

Lua Scripter

?ucet=miki_cz

Owner of mshost.cz MTA portal.

Posted
Can I just use setVehicleColor(vehicle, 250, 0, 0) for red?

You can't.

Read this:

https://wiki.multitheftauto.com/wiki/SetVehicleColor

You can... the color1, color2, color3, color4 is optional now, you can use R, G, B colors.

Like this:

setVehicleColor(theVehicle, 0, 255, 0) -- Will set the color to GREEN. 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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