25.02.2011, 09:35
Quote:
ok so you have inow as a intger getting read frome the file and inputtext as a string you cant compare theres is the password only numbers or is that hash value? if so what is your hash method?
|
Quote:
You appear to be trying to load a string as an integer, thus the argument type mismatch when attempting to use strcmp.
|
Your 'Password' is most likely to be a string, but you're loading it as an integer:
pawn Код:
inpw = dini_Int(file, "password");

pawn Код:
new inpw[128];
pawn Код:
inpw = dini_Get(file, "password");
pawn Код:
if(!strcmp(inputtext, inpw) && countpw < 4)