Help whirpool :-//
#1

I making reg/login system using whirpool hash system, this is OnDialogResponse code

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
       {

       }
    }
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(!strcmp(buf, dini_Int(File, "Pass") , true))
Reply
#2

pawn Код:
if(!strcmp(buf, dini_Get(File, "Pass") , true))
Reply
#3

tnx alot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)