[AJUDA]Erros Iguais em vбrias linhas
#1

Olб hoje achei um FS de Admin e resolvi tirar alguns comandos dele para poder usar em meu servidor. mas quando tentei retirar os comandos o Fs apresentou alguns erros.

O FS completo estб aki neste link -> http://pastebin.com/vkJcvkKJ

ele veio com esse erros aki:

Код:
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "cmd")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "leveladd")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "tmpp")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 017: undefined symbol "strtok"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(413) : error: 033: array must be indexed (variable "tmp")
ai eu pesquisei sobre esse "strtok" e achei esse codigo para por no fim do FS para tirar os erros:

Код:
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;
}
Assim que eu colokei apareceu esses erros aqui:

Код:
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 202: number of arguments does not match definition
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 202: number of arguments does not match definition
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 204: symbol is assigned a value that is never used: "vid"
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 202: number of arguments does not match definition
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 202: number of arguments does not match definition
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 202: number of arguments does not match definition
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 202: number of arguments does not match definition
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 202: number of arguments does not match definition
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 202: number of arguments does not match definition
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 202: number of arguments does not match definition
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 202: number of arguments does not match definition
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 202: number of arguments does not match definition
C:\Documents and Settings\Samuka\Meus documentos\Downloads\Mod\filterscripts\admin.pwn(3261) : warning: 225: unreachable code
Queria uma ajuda para solucionar esses erros, procurei aqui e nao consegui achar uma soluзгo!
Agradecerei a todos que me ajudarem!
Reply


Messages In This Thread
[AJUDA]Erros Iguais em vбrias linhas - by Samuka[GM] - 08.07.2011, 16:12
Re: [AJUDA]Erros Iguais em vбrias linhas - by wallon - 08.07.2011, 16:32
Re: [AJUDA]Erros Iguais em vбrias linhas - by Shadoww5 - 08.07.2011, 16:49
Re: [AJUDA]Erros Iguais em vбrias linhas - by wallon - 08.07.2011, 16:52
Re: [AJUDA]Erros Iguais em vбrias linhas - by Josma_cmd - 08.07.2011, 16:55
Re: [AJUDA]Erros Iguais em vбrias linhas - by Samuka[GM] - 08.07.2011, 16:57
Re: [AJUDA]Erros Iguais em vбrias linhas - by Josma_cmd - 08.07.2011, 16:59
Re: [AJUDA]Erros Iguais em vбrias linhas - by Samuka[GM] - 08.07.2011, 17:04
Re: [AJUDA]Erros Iguais em vбrias linhas - by Josma_cmd - 08.07.2011, 17:07
Re: [AJUDA]Erros Iguais em vбrias linhas - by Samuka[GM] - 08.07.2011, 17:26

Forum Jump:


Users browsing this thread: 2 Guest(s)