error 047: array sizes do not match, or destination array is too small
#1

Hello, i have problem with compile. Can somebody help? Almost all of them is problem with strtok. I pasted some lines to down with errors.

PHP код:
C:\Documents and Settings\BMW\Desktop\Totaalne\pawno\include\mSelection.inc(192) : warning 202number of arguments does not match definition
C
:\Documents and Settings\BMW\Desktop\Totaalne\pawno\include\mSelection.inc(196) : error 017undefined symbol "PlayerTextDrawSetPreviewModel"
C:\Documents and Settings\BMW\Desktop\Totaalne\pawno\include\mSelection.inc(197) : error 017undefined symbol "PlayerTextDrawSetPreviewRot"
C:\Documents and Settings\BMW\Desktop\Totaalne\pawno\include\mSelection.inc(189) : warning 203symbol is never used"mZoom"
C:\Documents and Settings\BMW\Desktop\Totaalne\pawno\include\mSelection.inc(189) : warning 203symbol is never used"Zrot"
C:\Documents and Settings\BMW\Desktop\Totaalne\pawno\include\mSelection.inc(189) : warning 203symbol is never used"Yrot"
C:\Documents and Settings\BMW\Desktop\Totaalne\pawno\include\mSelection.inc(189) : warning 203symbol is never used"Xrot"
C:\Documents and Settings\BMW\Desktop\Totaalne\pawno\include\mSelection.inc(189) : warning 203symbol is never used"modelindex"
C:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(2522) : error 021symbol already defined"cmd"
C:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(2523) : error 021symbol already defined"tmp"
C:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(19582) : warning 219local variable "cmd" shadows a variable at a preceding level
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(36979) : warning 219local variable "cmd" shadows a variable at a preceding level
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(36980) : warning 219local variable "tmp" shadows a variable at a preceding level
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(36985) : error 047: array sizes do not match, or destination array is too small
cmd 
strtok(cmdtextidx);
C:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(37041) : error 047: array sizes do not match, or destination array is too small
tmp 
strtok(cmdtextidx);
C:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(37118) : error 047: array sizes do not match, or destination array is too small
tmp 
strtok(cmdtextidx);
C:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(37222) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(37233) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(37266) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(37302) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(37352) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(37402) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(37452) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(38247) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(38306) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(38993) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(39021) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(39032) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(39111) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(39461) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(39488) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(39531) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(39569) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(39577) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\BMW\Desktop\Totaalne\gamemodes\Kodutute.pwn(39611) : error 047: array sizes do not match, or destination array is too small 
Reply
#2

Still need help
Reply
#3

You should post those lines...
Reply
#4

All lines is like these:
cmd = strtok(cmdtext, idx);
tmp = strtok(cmdtext, idx);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)