SA-MP Forums Archive
[Ajuda] GarHouse - 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] GarHouse (/showthread.php?tid=246743)



[Ajuda] GarHouse - ceesar90 - 05.04.2011

Entгo, queria por no meu servidor, sу que ta dando 2 erros ao compilar.
Esses erros quase sempre dгo comigo, nгo sei o porque.
GarHouse.pwn(2216) : warning 203: symbol is never used: "ret_memcpy"
GarHouse.pwn(2216) : warning 203: symbol is never used: "strtok"
Sendo que a linha 2216 nгo hб nada, apenas os crйditos do FS // © [03]Garsino - Keep The Credits!
E eu tambйm botei as includes que ele pede, os plugins, e tambйm tentei compilar sem modificar nada do FS, e deu o mesmo erro.

http://forum.sa-mp.com/showthread.ph...ighlight=block


Re: [Ajuda] GarHouse - []Fabricio[] - 05.04.2011

No inнcio do GameMode
pawn Код:
#pragma unused ret_memcpy



Re: [Ajuda] GarHouse - Diogo_Bras - 05.04.2011

Quote:
Originally Posted by []Fabricio[]
Посмотреть сообщение
No inнcio do GameMode
pawn Код:
#pragma unused ret_memcpy
Tudo dito...


Re: [Ajuda] GarHouse - Macintosh - 05.04.2011

Dк um CTRL + F e coloque isto na linha strtok(const string[], &index), e apague a funзгo toda que й esta

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;
}



Re: [Ajuda] GarHouse - ceesar90 - 05.04.2011

Valeu ai pra quem ajudo :d