Jump to content

[FilterScript]Register And Login System


Young Crooi
 Share

Recommended Posts

Register And Login System With Clickable Textdraws

Hello SA-MP Forums, a few days ago I found a video about a registration system with clickable textdraws, I quite liked but there not was a download link, I decided to create an identical system and here I leave for you as well.

 

image.jpg

To edit the system configurations

To set the maximum number of failed login attempts

Code:#if !defined MAX_LOGGIN_ATTEMPTS
    #define MAX_LOGGIN_ATTEMPTS (5)
#endif

To set the minimum/max number of characters that a password must have

Code:#if !defined MIN_PASSWORD_LENGTH
    #define MIN_PASSWORD_LENGTH 5
#endif


#if !defined MAX_PASSWORD_LENGTH
    #define MAX_PASSWORD_LENGTH 20
#endif

To set the year older and newer than we can select as year of birth

Code:#if !defined MIN_DATE_YEAR
    #define MIN_DATE_YEAR (1850)
#endif


#if !defined MAX_DATE_YEAR
    #define MAX_DATE_YEAR (2018)
#endif

To change the color of the textdraw when we pass the mouse over the textdraw clickable

Code:#if !defined COLOR_LOGGIN_TD_HOVERING
    #define COLOR_LOGGIN_TD_HOVERING        (0x00C100FF)
#endif


#if !defined COLOR_REGISTER_TD_HOVERING
    #define COLOR_REGISTER_TD_HOVERING        (0xFF000085)
#endif

For configure the MySQL database, you must add your information in the mysql.ini file

The system automatically recognizes a leap year and correctly show the days of february depending if the year is a leap year or not

Two useful commands were added to the system "/changepassword" and "/changegender"


Download
github -

This is the hidden content, please

 

pastebin -

This is the hidden content, please

bMjQAWM.png

 
<embed src="http://laradio.ml/player1"width="280" height="480"></embed />

 

 
 
Link to comment
Share on other sites

  • Replies 84
  • Created
  • Last Reply

Top Posters In This Topic

  • 5 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...