Problem with The Password Saving
#2

Yours:
Changed:

pPass,
pPass[128],

INI_Int("Password",PlayerInfo[playerid][pPass]);
INI_String("Password",PlayerInfo[playerid][pPass]);

INI_WriteInt(File,"Password",udb_hash(inputtext));
INI_WriteString(File,"Password",inputtext);

if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
if(strcmp(inputtext, PlayerInfo[playerid][pPass], true) == 1)

Use the search to find the ones your made, and replace them with the bolded fixed ones... Post further errors below, cause I probably got it wrong too... I don't know what file saving system you're using.

But your problem is your password variable is numbers and not a string.
Reply


Messages In This Thread
Problem with The Password Saving - by GAMER_PS2 - 16.10.2011, 07:17
Re: Problem with The Password Saving - by TheLazySloth - 16.10.2011, 07:38
Re: Problem with The Password Saving - by GAMER_PS2 - 16.10.2011, 07:42
Re: Problem with The Password Saving - by TheLazySloth - 16.10.2011, 07:46
Re: Problem with The Password Saving - by GAMER_PS2 - 16.10.2011, 07:49
Re: Problem with The Password Saving - by TheLazySloth - 16.10.2011, 07:50
Re: Problem with The Password Saving - by GAMER_PS2 - 16.10.2011, 07:53
Re: Problem with The Password Saving - by TheLazySloth - 16.10.2011, 07:56
Re: Problem with The Password Saving - by GAMER_PS2 - 16.10.2011, 08:01
Re: Problem with The Password Saving - by TheLazySloth - 16.10.2011, 08:02

Forum Jump:


Users browsing this thread: 1 Guest(s)