Jump to content

Recommended Posts

  • 4 months later...
Posted (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 by linnik
Posted
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.

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

 

  • Like 1
  • 3 months later...
Posted
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? 

  • 5 months later...
Posted (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 by cinuxs
  • Like 1

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