Advertisement
Guest User

Untitled

a guest
Sep 17th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. username = ""
  2. password = ""
  3. rusername = "0"
  4. rpassword = "0"
  5.  
  6.  
  7.  
  8. while(rpassword != password && rusername != username)
  9. {
  10. username = get_string("Please enter your username","")
  11. password = get_string("Please enetr your password","")
  12.  
  13. ini_open(string(username))
  14. rusername = ini_read_string("Player Data","username",0)
  15. rpassword = ini_read_string("Player Data","password",0)
  16.  
  17. if rusername = username && rpassword = password
  18. {
  19. room_goto(rm_win)
  20. }
  21. else
  22. {
  23. show_message("Incorrect Username or Password")
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement