Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- username = ""
- password = ""
- rusername = "0"
- rpassword = "0"
- while(rpassword != password && rusername != username)
- {
- username = get_string("Please enter your username","")
- password = get_string("Please enetr your password","")
- ini_open(string(username))
- rusername = ini_read_string("Player Data","username",0)
- rpassword = ini_read_string("Player Data","password",0)
- if rusername = username && rpassword = password
- {
- room_goto(rm_win)
- }
- else
- {
- show_message("Incorrect Username or Password")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement