How to remove udb_hash?
#1

how to remove udb_hash?


Код:
if(udb_hash(inputtext) == rInfo[playerid][rPass])
Reply
#2

Unless you want to replace it with a strong hashing algorithm, you don't.
Reply
#3

Dont Stole Accounts Passwords
Or in your server will not go inside any Player
Its something Unless
Reply
#4

Quote:
Originally Posted by arlindi
Посмотреть сообщение
Dont Stole Accounts Passwords
Or in your server will not go inside any Player
Its something Unless
i dont want steal accounts passwords , i want view how to remove becouse i want prepare this for function staff pin.

like:

Код:
	  if(dialogid == DIALOG_STAFFPIN)
      {
  	  if ( !response ) return Kick ( playerid );
      {
	    if(strcmp(inputtext,PlayerInfo[playerid][pStaffPin],true))  <-- this not working..
	    {
			if (PlayerInfo[playerid][pAdmin] >= 1 && PlayerInfo[playerid][pAdmin] <= 4)
			{
				new aloginstring[128];
				format(aloginstring,sizeof aloginstring,""COL_PURPLE"[SERVER]: "COL_GREY"Admin [%d]%s se ulogirao.", playerid, GetName(playerid));
				SendMessageToAdmins(COLOR_WHITE,aloginstring);
			}
	  		if (PlayerInfo[playerid][pAdmin] == 5)
			{
				new aloginstring[128];
				format(aloginstring,sizeof aloginstring,""COL_PURPLE"[SERVER]: "COL_GREY"Head Admin [%d]%s se ulogirao.", playerid, GetName(playerid));
				SendMessageToAdmins(COLOR_WHITE,aloginstring);
			}
			if (PlayerInfo[playerid][pAdmin] == 6)
			{
				new aloginstring[128];
				format(aloginstring,sizeof aloginstring,""COL_PURPLE"[SERVER]: "COL_GREY"Administrator [%d]%s se ulogirao.", playerid, GetName(playerid));
				SendMessageToAdmins(COLOR_WHITE,aloginstring);
			}
	    }
		else
	    {
	    	SetTimerEx("KickTime", 1000, false, "i", playerid);
	    }
	    }
	    return 1;
}
Reply
#5

Hash the input and then compare it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)