Quote:
Originally Posted by Matess
pawn Код:
new file[64], password[256], IP[16]; WP_Hash(password, sizeof(password), inputtext); //format(password, sizeof(password), "%s", dini_Get(file, "Password")); format(file, sizeof(file), "users/%s.ini", RPNU(playerid)); if(strcmp(dini_Get(file, "Password"), password)) { SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Invalid password."); ShowDialog(playerid, 2); return 1; }
|
I F**king love you man. Such a simple thing and I didn't realize it. Thanks a lot.
+ Rep