Guest User

Untitled

a guest
Apr 19th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.89 KB | None | 0 0
  1. format(hash, sizeof(hash), "%s%s", MD5_Hash(salt), MD5_Hash(inputtext));
  2.             format(hash2, sizeof(hash2), "%s%s", MD5_Hash(salt), MD5_Hash(password));
  3.             if(hash == hash2)
  4.             {
  5.                
  6.             }
  7.             else if(error > 3)
  8.             {
  9.                 format(text, sizeof(text), "Opuszczasz %s.\nJeżeli zapomniałeś hasła, możesz je sobie przypomnieć na naszej stronie internetowej - %s.",SETTINGS_NAME , SETTINGS_WEBURL);
  10.                 ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, title, text, "Wyjdź", "");
  11.                 Kick(playerid);
  12.             }
  13.             else
  14.             {
  15.                 GameTextForPlayer(playerid, "~n~~n~~n~~r~~h~Podales bledne haslo!",5000,5);
  16.                 format(text, sizeof(text), "Witaj %s! Próbujesz zalogować się na postać %s.\nPodaj poniżej hasło do konta globalnego.", PlayerInfo[playerid][username], PlayerInfo[playerid][username]);
  17.                 ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, title, text, "Zaloguj", "Wyjdź");
  18.                 error++;
  19.             }
Add Comment
Please, Sign In to add comment