Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 mods.

ARaros

Her zaman bir adım önde!
Gold Elite
Joined
Jun 29, 2021
Messages
181
Reaction score
34,146
Points
336
Location
USA/Los Angeles
1627667948678.png

  • FIVEM - CONTEXTMENU NUI. Targeting or Other Interaction Purpose

FEATURE​

  • Multiple Submenu
  • Easy Implementation
  • Clean UI
  • GUI Sounds (optional)
  • Whitelisted Events (optional)
  • Easy to integrated to Any Target Script
  • Trigger Export
  • Trigger Client or Server
  • Pass Any Arguments as optional to the receiver

  • SAMPLE USAGE SINGLE EXPORT​

uidata = {
['Ask Question'] = {
['title'] = 'EXPORT SAMPLE',
['fa'] = '<i class="fad fa-question-square"></i>',
['type'] = 'export', -- event / export
['content'] = 'ask', -- EVENT
['variables'] = {server = false, send_entity = true, onclickcloseui = true, custom_arg = {}, arg_unpack = false, exports = 'exports["cd_keymaster"]:StartKeyMaster'}, -- WITHOUT ()
},
['Steal'] = {
['title'] = 'Steal',
['fa'] = '<i class="fad fa-hood-cloak"></i>',
['type'] = 'event', -- event / export
['content'] = 'holdup',
['variables'] = {server = false, send_entity = true, onclickcloseui = true, custom_arg = {}, arg_unpack = false},
},
['SellDrag'] = {
['title'] = 'Sell Meth',
['fa'] = '<i class="fad fa-hand-holding-magic"></i>',
['type'] = 'event', -- event / export
['content'] = 'kill',
['variables'] = {server = false, send_entity = true, onclickcloseui = true, custom_arg = {}, arg_unpack = false},
},
},
TriggerEvent('renzu_contextmenu:insert',uidata,"MENU TITLE","ENTITY",true)

SHOW THE MENU​

  • the Data must be populated first using the exports sample above
TriggerEvent('renzu_contextmenu:show')

SAMPLE RESULT​

e62c94c6b5a2ab64f73759b699a9707b13f96fe2.gif

CLOSE MENU​

TriggerEvent('renzu_contextmenu:close')
-Sample Multi Sub Menu

Download​

 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds