[FilterScript] Advanced registration system (MySQL) - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Advanced registration system (MySQL) (
/showthread.php?tid=511239)
Advanced registration system (MySQL) -
iRaiDeN - 04.05.2014
Information
First, the system is based on MySQL, this system mainly syllabus type RP, basically that's how it goes, you register, then - it seems your age, after that, two questions (What is DM && What is RK), you can add more questions, all of the dialogue humidifier up,
PHP Code:
#define DIALOG_REGISTER (1001)
#define DIALOG_LOGIN (1002)
#define DIALOG_TYPE_AGE (1003)
#define DIALOG_DM (1004)
#define DIALOG_RK (1005)
#define DIALOG_DONE (1006)
Finally it is recorded, you can add the command stats, basically the whole system is based on the variables, so it was very easy for you, also you need to change the server,username,and the databse, to get the mysql connect to your server, it's open you auto table in the database, change it,
HTML Code:
#define DB_SERVER "127.0.0.1"
#define DB_USER "root"
#define DB_DB "samp"
#define DB_PASS ""
Screenshots
Soon.
Download
Pastebin.
SolidFiles.
Credits
MySQL - BlueG;
Re: Advanced registration system (MySQL) -
Jay_Dixon - 04.05.2014
Trying it out now, but you didn't write anything that actually connects to the database? How's it supposed to save and load things in that case?
Re: Advanced registration system (MySQL) -
iRaiDeN - 04.05.2014
Quote:
Originally Posted by Jay_Dixon
Trying it out now, but you didn't write anything that actually connects to the database? How's it supposed to save and load things in that case?
|
When the player disconnect.
Re: Advanced registration system (MySQL) -
iRaiDeN - 04.05.2014
Comments?
Re: Advanced registration system (MySQL) -
GeasyW - 04.05.2014
add some screenshots please, cant judge !
Re: Advanced registration system (MySQL) -
iRaiDeN - 04.05.2014
Quote:
Originally Posted by GeasyW
add some screenshots please, cant judge !
|
What?
Re: Advanced registration system (MySQL) -
GeasyW - 04.05.2014
Quote:
Originally Posted by iRaiDeN
What?
|
Add some screenshots.. So we can judge your FilterScript
Re: Advanced registration system (MySQL) -
iRaiDeN - 04.05.2014
Quote:
Originally Posted by GeasyW
Add some screenshots.. So we can judge your FilterScript
|
later i sorry, so you can give comments on the code?
Re: Advanced registration system (MySQL) -
GeasyW - 04.05.2014
Quote:
Originally Posted by iRaiDeN
later i sorry, so you can give comments on the code?
|
Comments on the code? What do you mean?
Re: Advanced registration system (MySQL) -
iRaiDeN - 04.05.2014
Quote:
Originally Posted by GeasyW
Comments on the code? What do you mean?
|
Nevermind.