Problem with The Password Saving
#3

Quote:
Originally Posted by TheLazySloth
View Post
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.
2 Errors Found.

Code:
H:\GTA San Andreas\My SAMP Server 2\filterscripts\Admin.pwn(123) : error 017: undefined symbol "INI_String"
H:\GTA San Andreas\My SAMP Server 2\filterscripts\Admin.pwn(228) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
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: 2 Guest(s)