[AJUDA] Erros BVO
#1

Baixei o GM Brasil Vila Online, gostei so que ta dando um monte de erro:


Код:
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33089) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33089) : error 033: array must be indexed (variable "cmd")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33160) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33159) : warning 203: symbol is never used: "lidx"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33400) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33400) : error 033: array must be indexed (variable "tmp")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33423) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33423) : error 033: array must be indexed (variable "tmp")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33449) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33449) : error 033: array must be indexed (variable "tmp")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33802) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33802) : error 033: array must be indexed (variable "tmp")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33809) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(33809) : error 033: array must be indexed (variable "tmp")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34334) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34334) : error 033: array must be indexed (variable "tmp")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34372) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34372) : error 033: array must be indexed (variable "tmp")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34408) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34408) : error 033: array must be indexed (variable "tmp")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34448) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34448) : error 033: array must be indexed (variable "tmp")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34472) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34472) : error 033: array must be indexed (variable "tmp")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34494) : error 017: undefined symbol "strtok"
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34494) : error 033: array must be indexed (variable "tmp")
C:\Users\AsR\Servidores\SAMP\vida on\Server 0.3d\gamemodes\BVOv7.pwn(34546) : error 017: undefined symbol "strtok"
Reply
#2

Bote no fim do GAMEMODE!
pawn Код:
stock 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;
}
PROBLEM TROLLS?
Reply
#3

vlw
Reply
#4

De nada ;P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)