Compile/run error?
#1

-snip-
Reply
#2

Show the lines. And the errors can't be clearer what's wrong
Reply
#3

Show the code or read the pawn-lang.pdf to learn more about your error(s).
Reply
#4

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.
Reply
#5

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.
Reply
#6

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);
Reply
#7

And how many cells does x_info array have?
Reply
#8

Quote:
Originally Posted by Don Correlli
And how many cells does x_info array have?
128

Код:
new x_info[128];
Reply
#9

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).
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)