04.08.2013, 15:05
Showing a dialog with the ID of -1 just closes all open dialogs. It could be triggering something inside of the SA:MP client that causes them to be kicked, I've seen that happen before, and I believe there was some anti dialog hacking code implemented last release. I'd recommend just taking out the -1, if they hit the other button (or esc in this case), the dialog is already closed, so there's no worries.