![]() |
Hello, I have a problem with my dialog(s).
I use this "function" to create the dialog: Код: Код:
void showSampDialog(int send, int dialogID, int typedialog, char *caption, char *text, char *button1, char *button2)My first dialog: Код: Код:
void _cdecl cmd_cmenu(char *param)I get the dialog response: Код: Код:
void dialogResponse(int dialogID, int buttonID, int listboxItem, char* input)My problem: I see the debug message and the first dialog. (SF->getSAMP()->getChat()->AddChatMessage(-1, "Dialogid: %d ButtonID: %d ListboxItem: %d Inputresponse: %s", dialogID, buttonID, listboxItem, input)) But I didn't see the second dialog (showSampDialog(1, 601, 2, "Raknet", "Debug Dialog-Response", "Okay", "Cancel")). Why? |
Цитата:
|
Цитата:
Код: Код:
SF->getSAMP()->getDialog()->Close(0);Код: Код:
if (listboxItem == 0)doesn't work. |
Need help!
|
Цитата:
|
| Время: 03:52 |