07.08.2011, 10:37
1st warning = function strtok is already defined, delete your function.
To fix the 2nd warning
Instead of that, use
better use sscanf.
To fix the 2nd warning
pawn Код:
new tmp[ 128 ]; // 128, array size does not match.
tmp = strtok( ... ); // ... = your arguments.
pawn Код:
new tmp[ 256 ]; // strtok needs 256.
tmp = strtok( ... ); // ... = your arguments.