Chief Boetang Posted May 23, 2015 Share Posted May 23, 2015 (edited) I was wondering if anyone knows the correct syntax for setting the window tint of your current vehicle. Here is my code (I'm using C#): Player player = Game.Player; active_menu = new GTA.Menu("Customization Menu", new GTA.MenuItem[] { new GTA.MenuButton("Tint Windows", () => { player.Character.CurrentVehicle.WindowTint = VehicleWindowTint.Limo; UI.Notify("Windows Tinted"); }) Any help is appreciated! Edited May 23, 2015 by Chief Boetang Link to comment Share on other sites More sharing options...
Inco Posted May 23, 2015 Share Posted May 23, 2015 So, what's the problem? Code looks good. Link to comment Share on other sites More sharing options...
Chief Boetang Posted May 23, 2015 Author Share Posted May 23, 2015 For what ever reason the current car does not change window tint when the button is activated. The UI message does display which means the button is working. Link to comment Share on other sites More sharing options...
Inco Posted May 23, 2015 Share Posted May 23, 2015 Answered you here. Link to comment Share on other sites More sharing options...
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