SA-MP Forums Archive
[SQL] Registration System, help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [SQL] Registration System, help! (/showthread.php?tid=603351)



[SQL] Registration System, help! - eikzdej - 22.03.2016

I recently added a new dialog that a player must choose a gender. This is my whole script:

http://upaste.me/r/fbf7241540a3e40e3

but my problem now is when i choose a gender, its does not continue to the registration. and shows Server close connection.

Please help, thank you!


Re: [SQL] Registration System, help! - Jack_Leslie - 22.03.2016

Код:
ShowPlayerDialog(playerid, DIALOG_GENDER, DIALOG_STYLE_MSGBOX, "Gender", "Select your Gender.", "Male", "Female");
Change to

Код:
ShowPlayerDialog(playerid, DIALOG_GENDER, DIALOG_STYLE_LIST, "Gender", "Select your Gender.", "Male\nFemale", "Select", "Cancel");



Re: [SQL] Registration System, help! - eikzdej - 22.03.2016

Jesus christ! Thank you so much! Problem solved!