local menu = QuickMenu:new( "My Title", "A test message. Local menu = QuickMenu:new( menu_title, menu_message, menu_options )ĭisplays the specified QuickMenu to the user. Text = managers.localization:text("base_mod_updates_update_later"), Text = managers.localization:text("base_mod_updates_open_update_manager"),Ĭallback = LuaModUpdates.OpenUpdateManagerNode, Local menu_message = managers.localization:text("base_mod_updates_show_multiple_update_available_message") local menu_title = managers.localization:text("base_mod_updates_show_multiple_update_available") Options: is_cancel_button If this button should do nothing other than close the menu. Options: callback The callback to run if this button is pressed by the user. Options: text The text to display on this button. Show_immediately If this QuickMenu should pop-up immediately without requiring the menu to be stored and have show expressly called on it. Specifying a nil value or an empty array will create a default "OK" button. Options An array of options containing data to use for the options of the menu. Message The message to be displayed in the menu. QuickMenu:new( title, message, options, show_immediately )Ĭreates a QuickMenu using the provided title, message, and options and returns it as a class variable. Other players that join your game will not be able to use these mods and these mods will be disabled if you join another player’s game. Note that these mods will only work with game hosts. Just read in the instructions on that page to set up BLT. Works extemely similarly to SimpleMenu, and is easy to switch over to using. The most popular LUA injector is the Payday 2 BLT. An easy and quick way to display small menus to the player.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |