Jump to content
RAGE Multiplayer Community

DialogUI 1.0.0

   (0 reviews)

1 Screenshot

About This File

Need some dialog menus with 2 buttons, for example to show user your server's rules and 2 buttons, "accept" and "not accept"?

DialogUI can help you with that!

Example of using:

const dialogUILib = require('dialogui'); // Load the library

var dialog = new dialogUILib.DialogUI("My Title", ["Line number 1", "Line number 2","Line number 3"], "Left Button", "Right Button"); // Make a new instance of dialogUI.
dialog.show(); // Show the dialog

Your players use enter and escape keys? DialogUI support them.

You can know which button is pressed by using the OnDialogResponse client-side event, which have 1 parameter of type Boolean, which indicate if the left button pressed.

  • Like 1
 Share


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
×
×
  • Create New...