Compile/run error? - 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: Compile/run error? (
/showthread.php?tid=114972)
Compile/run error? -
marine - 21.12.2009
-snip-
Re: Compile/run error? -
dice7 - 21.12.2009
Show the lines. And the errors can't be clearer what's wrong
Re: Compile/run error? -
Correlli - 21.12.2009
Show the code or read the pawn-lang.pdf to learn more about your error(s).
Re: Compile/run error? -
marine - 21.12.2009
I have read that already and it doesn't help at all. I cant post my code as it's way beyond the 20000 character limit.
Re: Compile/run error? -
Correlli - 21.12.2009
Quote:
Originally Posted by marine
I have read that already and it doesn't help at all. I cant post my code as it's way beyond the 20000 character limit.
|
Not the whole script, just the lines where the errors are.
Re: Compile/run error? -
marine - 21.12.2009
They're all the same thing.
Код:
7232: x_info = strtok(cmdtext, idx);
7291: x_info = strtok(cmdtext, idx);
9939: x_info = strtok(cmdtext, idx);
10067: x_info = strtok(cmdtext, idx);
10380: x_info = strtok(cmdtext, idx);
Re: Compile/run error? -
Correlli - 21.12.2009
And how many cells does x_info array have?
Re: Compile/run error? -
marine - 21.12.2009
Quote:
Originally Posted by Don Correlli
And how many cells does x_info array have?
|
128
Re: Compile/run error? -
Correlli - 21.12.2009
Well, compiler said that size doesn't match with the one in strtok function, change the cells to the same amount as there is in the strtok function (probably 20 cells if you're using strtok from SA:MP Wiki).
Re: Compile/run error? -
marine - 21.12.2009
Quote:
Originally Posted by Don Correlli
Well, compiler said that size doesn't match with the one in strtok function, change the cells to the same amount as there is in the strtok function (probably 20 cells if you're using strtok from SA:MP Wiki).
|
where might i find the strtok function cell numbers?