Based on my other WIP but not WIP anymore project, Scorpion Trainer, this aims to be a uniform modular menu with no content at all.
So, what’s the point then you might ask?
While there’s no content by default, you can add content with so called modules. Modules are simply resources which add content to the menu by using its API.
The goal of this project is to have one menu which all resources can use instead of having several different menus which open with different key combinations or even overlap with their key shortcuts.
Download and source code
The master branch is the newest “stable” version and you should download that one. Also make sure to name the resource “menu”, otherwise functionality WILL break!
Open the menu with F6 by default. Also check config.lua
for configuration possibilities.
And, don’t hesitate with any kind of feedback, suggestion, bug report or even contribution!
Regarding Modules:
Simply install them like any other resource. It’s advicable to put them into one folder (for example [menu-modules]) for organizatory purposes. Be careful with what you install, as some security mechanisms are implemented, it isn’t fully idiot-proof yet so buggy/malicious modules could mess up the menu.
An example module: A stripped-down port of the default Scorpion Trainer.
module_scorpion.zip (3.6 KB)
If you restart a module, make sure to restart the menu too.
For Developers:
Everything, including API Reference, Start Guide, notes and some example modules can be found on the Wiki. Please visit it for general advice.
Refer to the module above for an example.
Also you are encouraged to prefix your modules with “module_” in the resource name.
Thanks to:
- @Streetcorps for helping me out with trivial stuff
- FiveM for existing
- You for being awesome