[Ajuda] Erros nos Lux Administration (?)
#1

Bom, estou procurando um sistema de admin para usar em meu servidor e achei o Lux Administration.
Fui compilar e me ocorre essa desgraзa:
pawn Код:
Compilando LuxAdmin.pwn...
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(1544) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(1544) : error 033: array must be indexed (variable "tmp")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(1545) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(1545) : error 033: array must be indexed (variable "tmp2")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(1542) : warning 203: symbol is never used: "Index"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(1823) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(1823) : error 033: array must be indexed (variable "tmp")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(1824) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(1824) : error 033: array must be indexed (variable "tmp2")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(1822) : warning 203: symbol is never used: "Index"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2019) : error
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2019) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2019) : error 033: array must be indexed (variable "tmp")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2020) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2020) : error 033: array must be indexed (variable "tmp2")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2018) : warning 203: symbol is never used: "Index"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2054) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2054) : error 033: array must be indexed (variable "tmp")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2055) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2055) : error 033: array must be indexed (variable "tmp2")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2053) : warning 203: symbol is never used: "Index"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2088) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscr
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2088) : error 033: array must be indexed (variable "tmp")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2089) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2089) : error 033: array must be indexed (variable "tmp2")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2087) : warning 203: symbol is never used: "Index"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2120) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2120) : error 033: array must be indexed (variable "tmp")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2121) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2121) : error 033: array must be indexed (variable "tmp2")
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2119) : warning 203: symbol is never used: "Index"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2154) : error 017: undefined symbol "strtok"
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2154) : error 033: array must be indexed
D:\SA-MP\Gunners\filterscripts\LuxAdmin.pwn(2154) : error 033: array must be indexed (variable "tmp")

Compilation aborted.Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
O que pode estar ocasionando isso? Acredito que seje coisa do meu pc, mas o que seria
Reply
#2

comigo ja deu esse erro no TMP2 tive que colocar
pawn Код:
new tmp2[256];
porem й desnecessario 256 por causa da lag mais foi o unico modo que funfo '-'
Reply
#3

pawn Код:
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;
}
Reply
#4

Shickard cara, vocк й meu heroi, muito obrigado, sу nгo te do reput pq ja dei faz tempo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)