Community Contextual Menu API provides modders a whole new way of getting players to interact with the GTA V world: it brings a 'point & click' menu which lets players point at specific entities or positions and interact with them. No longer will users need to remember a myriad of hotkeys to use their favorite mods.
Each menu item can be assigned any number of menu actions by your mod, and those actions will appear ONLY for the object(s) of your choosing.
Implementation is extremely easy, yet the API is incredibly powerful.
The menu has two main modes:
The "Real-Time" menu Where you can select options in real-time by scrolling through the icons.
The "Detailed" menu Which works pretty much like GTA's Weapons Wheel, where time slows down and you can select your preferred menu option/icon by moving your mouse. This menu is split into sections (center, left, right, bottom), and as a developer you can add your icon to whichever section you feel is most appropriate.
Tutorial for players: how to use the menu
Watch a super-fast (2:30 minutes) tutorial here:
https://youtu.be/tqNXKZXCGTs
Requires Script Hook V (https://www.gta5-mods.com/tools/script-hook-v)
Community Script Hook V .NET (https://www.gta5-mods.com/tools/scripthookv-net)
Installation Unzip to your MAIN GTA V FOLDER.
Configuration You can modify ContextualMenuAPI.ini to modify hotkeys and more. Detailed info inside the INI file.
Technical info for modders: how it works Download the documentation & samples package. It is extremely easy to use!
Known issues - In the detailed menu, the text that displays the 'friendly name' of each menu item appears in the background sometimes.
Changelog
v0.9 FEATURE: New menu type, the Floating Icon Menu.
FEATURE: Function DetectElementAtCameraCenter.
FEATURE: keyDetectionEnabled; will enable and disable the detection of keypresses for the menu instance
FEATURE: Blur effect background
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
Write comment: