Changing password problem
#1

Code:
if(dialogid == 12)
     		{
					new file[128], pname[MAX_PLAYER_NAME];
					new string[128];
  				GetPlayerName(playerid, pname, sizeof(pname));
  				format(file, sizeof(file), "\\Users\\%s.ini", pname);
  				dini_IntSet(file, "Password", udb_hash(inputtext));
  				format(string,128,"[Saved]: Your new password has been saved. PW: %d",strval(inputtext));
  				SendClientMessage(playerid,GREEN,string);
  				PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
  				return 1;
				}
Reply


Messages In This Thread
Changing password problem - by Naruto4 - 28.02.2010, 09:16
Re: Changing password problem - by whitedragon - 28.02.2010, 09:18
Re: Changing password problem - by bajskorv123 - 28.02.2010, 09:23
Re: Changing password problem - by [NL]Bank - 28.02.2010, 09:26
Re: Changing password problem - by Naruto4 - 28.02.2010, 16:33

Forum Jump:


Users browsing this thread: 3 Guest(s)