
Menu UI with callbacks
By FusionPwN
Download and documentation on github.com.
About this FiveM resource
Hey everyone. Another script coming your way! This one is a menu with button callbacks and submenus, you can pass any data through the callback Example of the menu data structure: local menuData = { { type = 'title', clickable = false, text = 'My Test Menu' }, { type = 'button', clickable = true, --set this to true if the user is able to click the button text = 'Return a value', value = 'test value', func = function(value) print(tostring(value)) end }, { type = 'button', clickable = true, --set this to true if the user is able to click the button text = 'Return an object', description = 'Click me', value = { arg1 = 'test value', arg2 = 1 }, func = function(obj) print(tostring(obj)) end }, { type = 'button-sub', clickable = true, --set this to true if the user is able to click the button text = 'Open chain menu', description = 'Click me', func = function(value) print('Opened a chain menu') TriggerEvent('fpwn-menu:client:opentestmenu1') end } } Features: New UI (better i hope) Pre…
Get it from the original creator
FreeScriptsHub helps you discover resources. Downloads, installation instructions, licensing and support belong to the original release.
Open github.com