2021-01-16, 08:47 PM
You should replace "Item 1\nItem 2\n [...]" for "Server Commands" when you're showing up this dialog to a player.
Also if you want to click in the item and show another dialog box as you said, you should use the?Callback?OnDialogReponse, check the dialogid and then check if the selected listitem is zero (the first one starts at zero).
Example:
Also if you want to click in the item and show another dialog box as you said, you should use the?Callback?OnDialogReponse, check the dialogid and then check if the selected listitem is zero (the first one starts at zero).
Example:
Code:
// inside of OnDialogResponse:
if(dialogid == yourdialogid) {
? ?if(!response) return 1;
? ?switch(listitem) {
? ? ? case 0: ShowPlayerDialog(yourSecondDialog);
? ?}
}