Error (argument 3) y_ini - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Error (argument 3) y_ini (
/showthread.php?tid=272445)
Error (argument 3) y_ini -
Speed - 28.07.2011
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
Re: Error (argument 3) y_ini -
Calgon - 28.07.2011
'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.)
Re: Error (argument 3) y_ini -
Speed - 28.07.2011
thank you very much, you solved it