30.10.2010, 11:29
I making reg/login system using whirpool hash system, this is OnDialogResponse code
and i get this error
C:\Users\ExtremePower\Desktop\Lve\gamemodes\lve.pw n(17 : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
on this line
pawn Код:
if(dialogid == DIALOG_LOGIN)
{
new
buf[130];
format(File,sizeof File,LOKACIJA_RACUNA,GetName(playerid));
if(!response) return SCM(playerid,plava,"SERVER: Kickani ste jer ste odustali od logiranja, a to je obvezno napraviti."); Kick(playerid);
WP_Hash(buf, sizeof(buf), inputtext);
if(!strcmp(buf, dini_Int(File, "Pass") , true))
{
}
else
{
}
}
C:\Users\ExtremePower\Desktop\Lve\gamemodes\lve.pw n(17 : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
on this line
pawn Код:
if(!strcmp(buf, dini_Int(File, "Pass") , true))