26 Error With Raven-RP Script
#1

Well , I Just wanted to Try Raven-RP Script - I didn't Edit ANYTHING in the script and once i Complied it gave me this :

PHP код:
E:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(25136) : error 021symbol already defined"strtok"
E:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(25151) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(26624) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(26684) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(26737) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(27412) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(27471) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28152) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28180) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28191) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28251) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28521) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28548) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28578) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28586) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28620) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28628) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28661) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28706) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28769) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28827) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28835) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28870) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(28878) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(29073) : error 047: array sizes do not match, or destination array is too small
E
:\GTB640~1.ASA\SERVER~1\SA-MPS~2\Raven-RP\GAMEMO~1\larp.pwn(29127) : 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

Any way to Fix ?
Reply
#2

26 errors = Missing breacket
Reply
#3

Quote:

26 errors = Missing breacket

No Sh*t... i said "I Didn't Edit anything in it" - And It works with everyone except me , And i Re-downloaded it many times and the same happens each time
Reply
#4

Show us the code, in case there is a missing bracket you get some errors. If it is, may can help.
Reply
#5

Well , Here some of The line : [Note : They Errors are not in the same Place , they are all over the script]

PHP код:
strtok(const string[], &index)

They are all in strtok thing

PHP код:
tmp strtok(cmdtextidx); 
Reply
#6

Replace the stock srtok
pawn Код:
stock strtok(const string[], &index,seperator=' ')
{
    new length = strlen(string);
    new offset = index;
    new result[MAX_STRING];
    while ((index < length) && (string[index] != seperator) && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
 
    result[index - offset] = EOS;
    if ((index < length) && (string[index] == seperator))
    {
        index++;
    }
    return result;
}
Reply
#7

Nvm Fixed it - And thanks for helping Kostas (repped you)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)