16.10.2009, 06:22
Thank you for quick answer
My real login is :
How i can make that inputtext = password..
?? Or what :S
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; }
Код:
if(strcmp(MD5_Hash(tmppass),inputtext, true ) == 0)