Login Dialog
#3

Thank you for quick answer


My real login is :

Код:
dcmd_login(playerid, params[])
{
	new tmppass[64];
	if(gPlayerLogged[playerid] == 1)
	{
		SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "You have been already logged in.");
		return 1;
	}
	if(sscanf(params, "s", tmppass))
	{
		SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "KASUTUS: /login [password]");
		return 1;
	}
	OnPlayerLogin(playerid, MD5_Hash(tmppass));
	return 1;
}
How i can make that inputtext = password..

Код:
if(strcmp(MD5_Hash(tmppass),inputtext, true ) == 0)
?? Or what :S
Reply


Messages In This Thread
Login Dialog - by Kohva - 16.10.2009, 06:04
Re: Login Dialog - by Abhishek - 16.10.2009, 06:17
Re: Login Dialog - by Kohva - 16.10.2009, 06:22
Re: Login Dialog - by Abhishek - 16.10.2009, 07:04
Re: Login Dialog - by Kohva - 16.10.2009, 08:04

Forum Jump:


Users browsing this thread: 2 Guest(s)