02.01.2015, 12:14
This has just started to happen recently for seemingly no reason. What happens is I connect to the server and the register dialog appears. I type in a password and click "register" and it registers my account and saves it in the MySQL database, but then instantly says "Server closed the connection". It's the same if I log in too. My dialogs' buttons are the correct way around according to the OnDialogResponse page on the SA-MP Wiki:
My dialogs
Quote:
response - 1 for left button and 0 for right button (if only one button shown, always 1) |
Quote:
ShowPlayerDialog(playerid, D_REG, DIALOG_STYLE_PASSWORD, "{00D3FF}Register your account", string, "Register", "Quit"); ShowPlayerDialog(playerid, D_LOGIN, DIALOG_STYLE_PASSWORD, "{00D3FF}Login to your account", string, "Login", "Quit"); |