[HELP] with this please...
#1

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

Reply
#2

show lines?
Reply
#3

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;

Reply
#4

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 ,
Reply
#5

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

ok B)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)