TomGrobbe / MenuAPI

FiveM C# Menu API. Designed specifically as a replacement of NativeUI for vMenu. Full safezone scaling supported, both left and right aligned menus supported.
https://docs.vespura.com/mapi
62 stars 45 forks source link

Added the ability to disable opening menu on keyboard #22

Closed AylaMeo closed 4 years ago

AylaMeo commented 4 years ago

works the same as disabling input for controller

TomGrobbe commented 4 years ago

@Alsekwolf You should be able in this case to just set the control toggle key to something like -1 or -2 and it should also work

AylaMeo commented 4 years ago

unless I'm missing something, "MenuController.MenuToggleKey" only accepts "CitizenFX.core.control"

TomGrobbe commented 4 years ago

@Alsekwolf ((CitizenFX.Core.Control)(-1)) that should work

AylaMeo commented 4 years ago

ahh, might be useful to throw that in the docs.