What's new

ARaros

Her zaman bir adım önde!
Gold Elite
Joined
Jun 29, 2021
Messages
181
Reaction score
53,428
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​

 

kik94

Member
Joined
May 18, 2021
Messages
3
Reaction score
0
Points
146
View attachment 1168

  • 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​



SHOW THE MENU​

  • the Data must be populated first using the exports sample above

SAMPLE RESULT​

e62c94c6b5a2ab64f73759b699a9707b13f96fe2.gif

CLOSE MENU​


-Sample Multi Sub Menu

Download​

*** Hidden text: cannot be quoted. ***​

Gg awesome
 
Top