Register System
#3

Quote:
Originally Posted by Conradus
Посмотреть сообщение
Change this:
Код:
if(strcmp(password, inputtext,true) && strcmp(password, password2, true))
to this:
Код:
if(strcmp(password, password2) == 0)
Quote:

}
else if(dialogid == 2) // Login
{
if(response)
{
new file[64], password[256], IP[16], password2[256];
format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
WP_Hash(password2, sizeof(password2), inputtext);
format(password, sizeof(password), "%s", dini_Get(file, "Password"));
if(strcmp(password, password2) == 0)

right?
Reply


Messages In This Thread
Register System - by Shinobu - 16.04.2014, 12:16
Re: Register System - by Conradus - 16.04.2014, 12:51
Re: Register System - by Shinobu - 16.04.2014, 13:04
Re: Register System - by Conradus - 16.04.2014, 13:10
Re: Register System - by Shinobu - 16.04.2014, 13:14
Re: Register System - by kamiliuxliuxliux - 16.04.2014, 13:37
Re: Register System - by Conradus - 16.04.2014, 13:41
Re: Register System - by Conradus - 16.04.2014, 13:45
Re: Register System - by Shinobu - 16.04.2014, 13:53
Re: Register System - by Shinobu - 16.04.2014, 14:41

Forum Jump:


Users browsing this thread: 1 Guest(s)