R.y.c.k Posted July 6, 2012 Posted July 6, 2012 Hey all. I want to ask whether it is possible create script which that generated all colours !not those which include gta:sa !
robhol Posted July 6, 2012 Posted July 6, 2012 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.
R.y.c.k Posted July 6, 2012 Author Posted July 6, 2012 I do not want the color of gta:sa ... i want custom colour exp: 00ffff , 4sdff2 ,186186 etc ..
Guest Guest4401 Posted July 6, 2012 Posted July 6, 2012 To get R,G,B from hex code (E.g: #ffffff), use: getColorFromString. Use the R,G,B values in setVehicleColor
R.y.c.k Posted July 7, 2012 Author Posted July 7, 2012 i will have to hand write color ?I want to give new colors to the MTA that it was nicer.
MIKI785 Posted July 7, 2012 Posted July 7, 2012 What? Did you look at the syntax? O_o, setVehicleColor(vehicle, R, G, B). You can set any color you want.
R.y.c.k Posted November 29, 2012 Author Posted November 29, 2012 I think replace defalut colors see picture where i edit it ? in ? create carcolor scirpt ? or in vehicecolor ?
Castillo Posted November 29, 2012 Posted November 29, 2012 I don't understand your question, you don't need to replace any color, you just use R, G, B.
R.y.c.k Posted November 29, 2012 Author Posted November 29, 2012 i think how to replace old colors for my new colors :example: ffs have nice carcolor , I can edited in vehiclecolors.conf ?
Castillo Posted November 29, 2012 Posted November 29, 2012 You don't need to edit anything, you can just use the new color system ( Red, Green, Blue ).
R.y.c.k Posted November 29, 2012 Author Posted November 29, 2012 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
myonlake Posted November 29, 2012 Posted November 29, 2012 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/
R.y.c.k Posted November 30, 2012 Author Posted November 30, 2012 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?
Cadu12 Posted November 30, 2012 Posted November 30, 2012 https://dl.dropbox.com/u/69022807/retard.png He sent me when I was sleeping. For me, that guy isn't great becuase of it.
Castillo Posted November 30, 2012 Posted November 30, 2012 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.
R.y.c.k Posted November 30, 2012 Author Posted November 30, 2012 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now