SA-MP Forums Archive
Need help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need help (/showthread.php?tid=273071)



Need help - lynxwolf - 31.07.2011

Quote:

C:\general\General Roleplay\gamemodes\PRP.pwn(1692 : error 021: symbol already defined: "strtok"
C:\general\General Roleplay\gamemodes\PRP.pwn(16943) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18247) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18279) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18286) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18359) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18394) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(1841 : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18435) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18444) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18482) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18632) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18662) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18692) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(18810) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(19081) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(19090) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(1911 : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(19142) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(20470) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(2053 : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(20606) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(20674) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(20764) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(20985) : error 047: array sizes do not match, or destination array is too small
C:\general\General Roleplay\gamemodes\PRP.pwn(2151 : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

here are the lines
Quote:

cmd = strtok(cmdtext, idx);
tmp = strtok(cmdtext, idx);
tmp = strtok(cmdtext, idx);

lines say the same thing


Re: Need help - Shockey HD - 31.07.2011

You don't need two
PHP код:
tmp strtok(cmdtextidx); 



Re: Need help - lynxwolf - 31.07.2011

thats line is in the script like 20 times


Re: Need help - Th3Angel - 31.07.2011

Well, for a first, you already have another strtok function. Find and delete one of them.


Re: Need help - lynxwolf - 01.08.2011

i tryed everything you guys said just fucked it more if someone can fix this for me ill give them a ts3 server vent or webspace for free please help me i can't edit anything in the script


Re: Need help - Onyx - 01.08.2011

Upload in pastebin.com your gamemode.