toretees.blogg.se

Quickmenu payday 2
Quickmenu payday 2











quickmenu payday 2

Nodes = MenuHelper:BuildMenu( "my_custom_menu", menu_data ) Hooks:Add("MenuManagerBuildCustomMenus", "MenuManagerBuildCustomMenus_Example", function( menu_manager, nodes ) Available values are full, half, and none. Menu_id The ID of the menu which should be built.ĭata A table containing extra data which this menu should be built with.ĭata: back_callback The function to be called on MenuCallbackHandler when the menu is left.ĭata: area_bg The area the background covers when this menu is opened whilest in-heist. Sets up, and returns, the menu with ID menu_id so that it can be added to the in-game menus. local menu = MenuHelper:GetMenu( "my_custom_menu" ) Logs an error, and returns nil, if no menu with the specified ID could be found. Returns The menu with the specified menu_id. Menu_id The unique ID of the menu to get. Returns the registered menu with id of menu_id.

quickmenu payday 2

Menu_id The unique ID to use for this menu. Registers a new menu that can have items added to it. The MenuHelper class is a set of functions which are used in conjunction with a set of specialized hooks in order to add custom menus to the game.Īdding menus via MenuHelper is best left for menus that require more advanced setup, as Json Menus can be used in most other circumstances to add menus to your mods.













Quickmenu payday 2