All Projects → ThymonA → menuv

ThymonA / menuv

Licence: GPL-3.0 license
FiveM menu library for creating menu's with NUI

Programming Languages

lua
6591 projects
typescript
32286 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
Vue
7211 projects
HTML
75241 projects

Projects that are alternatives of or similar to menuv

esx menu default
ESX Menu Style for FXSERVER gtaonline style
Stars: ✭ 30 (-64.71%)
Mutual labels:  menu, fivem
esx scoreboard
esx - scoreboard | A user friendly scoreboard for your server ;)
Stars: ✭ 28 (-67.06%)
Mutual labels:  fivem, fivem-script
utk render
Render game view to html canvas element
Stars: ✭ 40 (-52.94%)
Mutual labels:  fivem, fivem-script
esx repairkit
Simple repairkit script for FiveM ESX servers
Stars: ✭ 36 (-57.65%)
Mutual labels:  fivem, fivem-script
rprogress
Customisable radial progress bars for FiveM
Stars: ✭ 41 (-51.76%)
Mutual labels:  fivem, fivem-script
ZIRIXV2
Base vRPex para FiveM, desenvolvida pela equipe ZIRAFLIX, conjunto a alguns scripts da comunidade.
Stars: ✭ 22 (-74.12%)
Mutual labels:  fivem, fivem-script
FiveM-Paid-Anticheats
Fivem Anticheat's sources, cracks and other shit have fun with it. Remember API > ALL https://discord.gg/stz4nCkhZp
Stars: ✭ 35 (-58.82%)
Mutual labels:  fivem, fivem-script
Jeva
All scripts and code used through videos/tutorials on Jeva. Compiled by @ThatZiv
Stars: ✭ 156 (+83.53%)
Mutual labels:  fivem, fivem-script
samp-foreach
foreach standalone include (non y_iterate version)
Stars: ✭ 20 (-76.47%)
Mutual labels:  standalone, standalone-library
Lua-Obfuscator
Obfuscate your lua code because it's so easy to steal!
Stars: ✭ 69 (-18.82%)
Mutual labels:  fivem
KActionMenu
Like to iOS 3D touch menu
Stars: ✭ 21 (-75.29%)
Mutual labels:  menu
AnimationMenu
Animation Menu like on Material Design way
Stars: ✭ 49 (-42.35%)
Mutual labels:  menu
CircleButtonMenu
No description or website provided.
Stars: ✭ 28 (-67.06%)
Mutual labels:  menu
godot-radial-menu
A radial menu for Godot, supports Mobile & Desktop
Stars: ✭ 88 (+3.53%)
Mutual labels:  menu
clang-tool
Simple and powerful standalone project for clang-based tools using libtooling (e.g. refactoring, auto-completion, etc.)
Stars: ✭ 35 (-58.82%)
Mutual labels:  standalone
ContextMenuSwift
A better version of iOS 13 Context Menu
Stars: ✭ 162 (+90.59%)
Mutual labels:  menu
vue3-context-menu
A very simple context menu component for Vue3 一个简洁美观简单的Vue3右键菜单组件
Stars: ✭ 74 (-12.94%)
Mutual labels:  menu
flutter-package-selection menu
A flutter widget, highly customizable, to select an item from a list of items.
Stars: ✭ 32 (-62.35%)
Mutual labels:  menu
fivem-mysql-async
MySql Async Library for FiveM
Stars: ✭ 105 (+23.53%)
Mutual labels:  fivem
vue-bottom-navigation
Vue bottom navigation
Stars: ✭ 56 (-34.12%)
Mutual labels:  menu

MenuV | Standalone Menu for FiveM | NUI Menu

N|CoreV

Issues License Forks Stars Discord


MenuV is a library written for FiveM and only uses NUI functionalities. This library allows you to create menus in FiveM. This project is open-source and you must respect the license and the hard work.

Features

  • Support for simple buttons, sliders, checkboxes, lists and confirms
  • Support for emojis on items
  • Support for custom colors (RGB)
  • Support for all screen resolutions.
  • Item descriptions
  • Rebindable keys
  • Event-based callbacks
  • Uses 2 msec while menu open and idle.
  • Documentation on menuv.fivem.io/api/
  • Themes: default or native

Compile files

MenuV uses VueJS and TypeScript with NodeJS. If you want to use the master files, you need to build the hole project by doing:

npm install

After you have downloaded/loaded all dependencies, you can build MenuV files by executing the following command:

npm run build

After the command is executed you will see a build folder containing all the resource files. Copy those files to a resource folder called menuv or create a symbolic link like that:

Windows

mklink /J "repositoryPath\build" "fxResourcesPath\menuv"

Linux

ln -s "repositoryPath\build" "fxResourcesPath\menuv"

You can also check this tutorial on how to make a link: https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/

When your downloading a release, you don't have to follow this step, because all release version are build version.

How to use?

⚠️ example.lua can't be added in the menuv fxmanifest, you must make an seperate resource like: menuv_example

  1. Add start menuv to your server.cfg before the resources that's uses menuv
  2. To use MenuV you must add @menuv/menuv.lua in your fxmanifest.lua file.
client_scripts {
    '@menuv/menuv.lua',
    'example.lua'
}

Create a menu

Create a menu by calling the MenuV:CreateMenu function.

MenuV:CreateMenu(title: string, subtitle: string, position: string, red: number, green: number, blue: number, texture: string, disctionary: string, namespace: string, theme: string)

Example:

local menu = MenuV:CreateMenu('MenuV', 'Welcome to MenuV', 'topleft', 255, 0, 0, 'size-125', 'default', 'menuv', 'example_namespace', 'native')

Create menu items

Create a item by calling AddButton, AddConfirm, AddRange, AddCheckbox or AddSlider in the created menu

/** CREATE A BUTTON */
menu:AddButton({ icon: string, label: string, description: string, value: any, disabled: boolean });

/** CREATE A CONFIRM */
menu:AddConfirm({ icon: string, label: string, description: string, value: boolean, disabled: boolean });

/** CREATE A RANGE */
menu:AddRange({ icon: string, label: string, description: string, value: number, min: number, max: number, disabled: boolean });

/** CREATE A CHECKBOX */
menu:AddCheckbox({ icon: string, label: string, description: string, value: boolean, disabled: boolean });

/** CREATE A SLIDER */
menu:AddSlider({ icon: string, label: string, description: string, value: number, values: [] { label: string, value: any, description: string }, disabled: boolean });

To see example in practice, see example.lua

Events

In MenuV you can register event-based callbacks on menu and/or items.

/** REGISTER A EVENT ON MENU */
menu:On(event: string, callback: function);

/** REGISTER A EVENT ON ANY ITEM */
item:On(event: string, callback: function);

Documentation

Read MenuV documentation

License

Project is written by ThymonA and published under GNU General Public License v3.0 Read License

Screenshot

How is this menu made? see example.lua

Default Native
MenuV Default MenuV Native
Default Theme Native Theme
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].