Error (argument 3) y_ini
#1

I get this error:

pawn Код:
C:\DOCUME~1\User\Desktop\STUNTS~1\FILTER~1\reg.pwn(125) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Line (125):
pawn Код:
INI_WriteInt(iFile,"Password",inputtext);
i tried something like that:

pawn Код:
INI_WriteInt(iFile,"Password",Pass(inputtext));
but when is like that i get no error:

pawn Код:
INI_WriteInt(iFile,"Password",udb_hash(inputtext));
but i want to see password of players... plss help
Reply
#2

'inputtext' is a string, when you use udb_hash, your string is turned into an integer (number) - which is why you get the error. You can use a similar function, but to write a string to your file: INI_WriteString. (without the period.)
Reply
#3

thank you very much, you solved it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)