[Release] [Standalone] VehControl NUI Menu

You can set the opening key by editing the vehcontrol/client.lua file

Find they keycode for the key you want to use, the current key is ] with the keycode value of 40
You can get the keycodes by visiting this site and looking up the keys
Modify the keycode number on line 11 like below

			if ( IsControlJustReleased( 0, 40 ) or IsDisabledControlJustReleased( 0, 40 ) ) and GetLastInputMethod( 0 ) then -- Key to open NUI https://docs.fivem.net/docs/game-references/controls/
				openVehControl()
			end

File: https://github.com/Manvaril/vehcontrol/blob/master/client.lua

1 Like

Actually its made by ModFreaks just with a changed ui

anyone know how I can make this to put commands like /me for RP?

Hello how can I contact five m supporters

He added the option for commandā€¦ Look in the config :rofl:

1 Like

nice release ! :slight_smile:

but for open the menuā€¦

Works awesome! Would love to know if there was a way to make clicking the hotkey again to disable it~ It ended up on left CTRL making ESC the closeā€¦

I donā€™t understand exactly what you mean but, I did document how to change the hotkeys to open and close the menu in the posts above. I also give out the place to find the keycodes to do the changes in those posts.

Open: [Release] [Standalone} VehControl NUI Menu
Close: [Release] [Standalone} VehControl NUI Menu

Been trying to fix a problem, when ever i scroll wheel up, in the big map or just sitting in the vehicle, the menu pops upā€¦ anyone got a work around ?

1 Like

changing the key will solve the problem

2 Likes

looks nice

Hello, I am having a bit of a hard time having this work.

I can open up the UI but when I click on the buttons nothing actually happens. When I try to use the commands they do work but just not the UI. Is there any general fix for this?

Also I have been finding that I am needing to do the /vehcontrolclose command more than I would prefer. Is there anything I can do to prevent the UI from freezing?

Thanks

1 Like

Having the same issue here, let me know if you find a fix.

I have an issue where the scrollwheel up opens the menu as wheel, does anybody know whats causing this & if theres a way to fix it?

I canā€™t replicate this problem, please go through any scripts/mods that alter your NUI and Vehicles and disable them one by one till you find the conflict.

that is key binding issue on your end, change your in game keybinds or change the key the menu uses (info on how to do that is in this thread above)

Hi @Manvaril the / commands are working but the ] ui menu opens and closes but doesnt function at all. Tried disabling tones of car scripts. ie realistic vehicle damage car locks engine toggle and even with all of them disable and restarted the scripts still same results any help would be great!

Hey @Manvaril! Would there be anyway to have the front left door open on a keybind press?

(I.e. pressing ā€œGā€ would open the door, and once again pressing ā€œGā€ would close it?)