SA-MP Forums Archive
[HELP] with this please... - 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: [HELP] with this please... (/showthread.php?tid=238341)



[HELP] with this please... - Amel_PAtomAXx - 11.03.2011

i was download server Reavens Roleplay , but i cant add nothing in that gamemode , when im compile that i get 26 errors can somebody tell me how to fix that errors please

errors:
PHP код:
C:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28557) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28587) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28595) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28629) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28637) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28670) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28715) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28778) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28836) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28844) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28879) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(28887) : error 047: array sizes do not match, or destination array is too small
C
:\Documents and Settings\xy\Desktop\SAMP\Raven's Roleplay 0.3c\Raven's Roleplay 0.3c\gamemodes\larp.pwn(29114) : error 047: array sizes do not match, or destination array is too small
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors




Re: [HELP] with this please... - omer5198 - 11.03.2011

show lines?


Re: [HELP] with this please... - Amel_PAtomAXx - 11.03.2011

this is only one part
Quote:

strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}

new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}

i think that error is somewhere here :
Quote:

return result;




Re: [HELP] with this please... - Amel_PAtomAXx - 11.03.2011

better idea , you download this gamemode too http://www.mediafire.com/?beyu5vz27w7hriq and check the problem and help me to fix ,, ofc if you can ,


Re: [HELP] with this please... - Stigg - 11.03.2011

Ask in the Reavens Roleplay Thread, your query might already been answered there.


Re: [HELP] with this please... - Amel_PAtomAXx - 11.03.2011

ok B)