vames23
January 19, 2023, 10:58pm
1
esx_menu_default
esx_menu_dialog
esx_menu_list
DOCUMENTATION about parameters
Features :
ESX_MENU_DEFAULT
General redesign.
Clicking the spacebar/left mouse button and having an opened menu on the screen does not integrate as an interaction key.
By holding SHIFT, you can navigate through the menu faster.
Added param icon to elements, which allows you to add a font-awesome icon on the left of the text.
Added param hint to elements, which allows you to add hints to a selected option, e.g. what it does.
Added param hintImage to elements, which allows you to add an image to the option.
Added param url to elements, which allows you to add a link after which pressing this option launches the browser and transfers to the url.
ESX_MENU_DIALOG
ESX_MENU_LIST
You can check my others scripts
vms_gangmissions
vms_clothestore
vms_charcreator
vms_multichars + vms_identity
vms_tattooshop
vms_barber
vms_pausemenu
vms_skydiving
vms_races
vms_drivingschool
vms_boatschool
vms_flyingschool
vms_bank
vms_notify
vms_shops
vms_redeem
vms_garage
vms_jobcenter
interact
25 Likes
xBLVCK
January 20, 2023, 1:46am
2
That’s hot and clean. Great stuff!
3 Likes
Hi ! We need to change all original menu for add « hint section etc… or original lines are good ? Thx !
1 Like
It’s really neat! Thank you so much for making something so cool <3
1 Like
Hi, you do not have to change anything just add one item to the elements table and where is label, value in it, then add hint = "TEXT HERE"
local elements = {
{label = "example label", value = "example_value", hint = "THATS HINT"}
}
1 Like
No problem, I hope it will be useful
got error on menu list.
SendMessage is not define. app.js line 154, 145
hasidu
January 20, 2023, 4:16pm
11
wooooooow nice work bro thank youuuuu
1 Like
vames23
January 21, 2023, 4:22pm
13
in the html file there is getting wrapper.js from es_extended and there is this function if you have renamed the es_extended script there you also need to make the change
<script src="nui://es_extended/html/js/wrapper.js"></script>
vames23
January 21, 2023, 4:23pm
14
no problem, thank you too
please see if you can add a search function
can you help me please to put a image in the menu? ;(((
Konz_z
February 9, 2023, 9:14pm
19
Use hintImage = ‘IMAGE LINK HERE’
{icon = ‘fas fa-users-cog’, label = _U(‘citizen_interaction’), value = ‘citizen_interaction’, hintImage = ‘IMAGE LINK HERE’},
1 Like
Sir this is magical and its controller compatible too! Legend!
1 Like