SA-MP Forums Archive
[AJUDA] Erros BVO - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] Erros BVO (/showthread.php?tid=337592)



[AJUDA] Erros BVO - Panico622 - 27.04.2012

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"



Re: [AJUDA] Erros BVO - dPlaYer_ - 27.04.2012

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?


Re: [AJUDA] Erros BVO - Panico622 - 27.04.2012

vlw


Re: [AJUDA] Erros BVO - dPlaYer_ - 27.04.2012

De nada ;P