Stock isn't satisfied with the parameter - 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)
+--- Thread: Stock isn't satisfied with the parameter (
/showthread.php?tid=387935)
Stock isn't satisfied with the parameter -
Skillet` - 26.10.2012
I receive the same error for the same line,tried to fix this error multiple times and didn't reached any solution.
error list:
Код:
C:\test.pwn(5) : error 035: argument type mismatch (argument 1)
C:\test.pwn(13) : error 035: argument type mismatch (argument 1)
C:\test.pwn(9) : warning 203: symbol is never used: "t"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
the stock look similiar to this:
pawn Код:
(9)stock data(t,l)
{
new s[64],
(13) File:f = fopen(t,io_readwrite);
while(fread(f,s)) {}
fclose(f);
return s;
}
line 5:
Код:
strpack(str,freadline("test.txt",4));
Any idea's ?
Re: Stock isn't satisfied with the parameter -
Skillet` - 26.10.2012
I guess because of the dot.
So how do I make it accept the input ?
Re: Stock isn't satisfied with the parameter -
Gh05t_ - 26.10.2012
Quote:
Originally Posted by Skillet`
I guess because of the dot.
So how do I make it accept the input ?
|