16.10.2011, 07:42
Quote:
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. |
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.