Stock isn't satisfied with the parameter
#1

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 ?
Reply
#2

I guess because of the dot.
So how do I make it accept the input ?
Reply
#3

Quote:
Originally Posted by Skillet`
Посмотреть сообщение
I guess because of the dot.
So how do I make it accept the input ?
pawn Код:
stock data(t[],l)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)