Jump to content

question car color


R.y.c.k

Recommended Posts

Posted
Hey all. I want to ask whether it is possible create script which that generated all colours !not those which include gta:sa !

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

The wiki is useful. I suggest you use it.

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

  • 4 months later...
Posted

I don't understand your question, you don't need to replace any color, you just use R, G, B.

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.

Posted

You don't need to edit anything, you can just use the new color system ( Red, Green, Blue ).

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.

Posted

in vehiclecolor.conf ? i do edit this and i add our colors ? or ? :/

445 34 34 <<< idk color and i replace 255 255 0 yellow

445 35 35

445 37 37

445 39 39

445 41 41

445 43 43

445 45 45

445 47 47

Posted

Do not edit any configuration file - it is completely unnecessary since it's not going to change anything!

White.

setVehicleColor(vehicle, 255, 255, 255, 255, 255, 255) 

Black.

setVehicleColor(vehicle, 0, 0, 0, 0, 0, 0) 

Red.

setVehicleColor(vehicle, 255, 0, 0, 255, 0, 0) 

Green.

setVehicleColor(vehicle, 0, 255, 0, 0, 255, 0) 

Blue.

setVehicleColor(vehicle, 0, 0, 255, 0, 0, 255) 

More information about RGB Color Model: http://en.wikipedia.org/wiki/RGB_color_model

Color Picker: http://www.colorpicker.com/

If I helped you, please click the like button on the right ;) Thanks!

Posted

would like script which before every time loading map cheange color players car (by setVehicleColor) but i dont know how create it . Can you show me an example?

Posted
would like script which before every time loading map cheange color players car (by setVehicleColor) but i dont know how create it . Can you show me an example?

Use:

onVehicleEnter which is triggered when you enter a vehicle, meaning when the map starts and you get warped to your vehicle.

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.

Posted

Ok. ...and you dont know where I find scripter ? I understand the lua language but i dont know how i accompany it . Please some scripter which would be willing and somehow we would to agree.

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