MarkCavalli Posted June 10, 2018 Posted June 10, 2018 (edited) I tried set window tint but its doesnt work. If someone have working example, please share Also cant set dashboard color Edited June 10, 2018 by MarkCavalli
MarkCavalli Posted October 18, 2018 Author Posted October 18, 2018 Found it. Setting window tint by vehicle.setMod is not working, you need set it like vehicle.windowTint 2
linnik Posted October 18, 2018 Posted October 18, 2018 (edited) 9 часов назад, MarkCavalli сказал: Found it. Setting window tint by vehicle.setMod is not working, you need set it like vehicle.windowTint OMG I've written so many times about this issue and got no answer and you finally found it! Thx! Edited October 18, 2018 by linnik
ragempdev Posted October 18, 2018 Posted October 18, 2018 10 hours ago, MarkCavalli said: Found it. Setting window tint by vehicle.setMod is not working, you need set it like vehicle.windowTint What mod id you have even used? Mods are up to 50 and window tint obviously isn't a mod.
MarkCavalli Posted October 18, 2018 Author Posted October 18, 2018 1 час назад, ragempdev сказал: What mod id you have even used? Mods are up to 50 and window tint obviously isn't a mod. From the wiki... 46 Window Tint Also seen somewhere windowTint id = 69, but cant remember, where is. 1
DJ_Synergy Posted January 26, 2019 Posted January 26, 2019 Am 18.10.2018 um 23:44 schrieb MarkCavalli: From the wiki... 46 Window Tint Also seen somewhere windowTint id = 69, but cant remember, where is. @MarkCavalli how did you finally do the window tint? i tried to do it with mod id 46, 69, aso and nothing worked correctly. then i tried vehicle.setWindowTint but this seems to be client side only (didnt test it because i wanted to do it server side like mods). vehicle.windowTint is returning 255 for default windows but it is just a property to GET the tint, not to set it, i think. so what have you done to get it working?
Elliot Posted January 26, 2019 Posted January 26, 2019 I use https://wiki.rage.mp/index.php?title=Vehicle::setWindowTint and it works You'll just have to sync it yourself
cinuxs Posted July 4, 2019 Posted July 4, 2019 (edited) A bit late but I found out that the index id for window tint is 55 not 46. (For all those who are still looking for it) Edited July 4, 2019 by cinuxs 1
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