Strtok problem.
#1

Those are the lines
pawn Код:
/// Under "public OnPlayerCommandText(playerid, cmdtext[])"
[Line 285]new cmd[128], idx;
[Line 286]cmd = strtok(cmdtext, idx);
/// Under Command
[Line 472]new tmp[128];
[Line 473]tmp = strtok(cmdtext, idx);
[Line 474]new ymp[128];
[Line 475]ymp = strtok(cmdtext, idx);
// And if i will add the Strtok setting under the script its says that i allready defined strtok
And the Errors are:
Код:
C:\Users\Yuvalino\Desktop\Server\gamemodes\UltraDM.pwn(286) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yuvalino\Desktop\Server\gamemodes\UltraDM.pwn(473) : error 047: array sizes do not match, or destination array is too small
C:\Users\Yuvalino\Desktop\Server\gamemodes\UltraDM.pwn(475) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)