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