23.02.2009, 14:53
print variable? I've got certain thins like. When someone spawns it alerts admins, and it says print(string);
Not sure what you mean though, i've never really used "print" that much.
For the array thing, this is jsut one fo the problems.
The others are on a line wherever 'tmp = strtok(cmdtext, idx);' is present.
They work fine when i change it to 256, but i dont want it that high for things so small.
Not sure what you mean though, i've never really used "print" that much.
For the array thing, this is jsut one fo the problems.
pawn Код:
new string[128];
new idx;
string = strtok(cmdtext, idx); //Line with error (array sizes do not match, or destination array is too small)
new tmp[64];
tmp = strtok(cmdtext, idx);//Line with error (array sizes do not match, or destination array is too small)
They work fine when i change it to 256, but i dont want it that high for things so small.