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



Erros ao compilar - zDark - 03.05.2015

Como arrumo isso??

Quote:

C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(227) : error 021: symbol already defined: "ID"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(38 : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(401) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(413) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(425) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(437) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(449) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(461) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(474) : error 017: undefined symbol "TextDrawSetPreviewModel"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(475) : error 017: undefined symbol "TextDrawSetPreviewRot"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(476) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(489) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(503) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(513) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(523) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(536) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(545) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(55 : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(571) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(584) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(597) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(609) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(621) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(633) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(645) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Documents and Settings\s1c1f21vfd4g\Meus documentos\Downloads\sd\dd\gamemodes\LV.pwn(657) : error 017: undefined symbol "TextDrawSetSelectable"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.




Re: >> ERRO AO COMPILAR << - GabrielDias_Invision - 03.05.2015

seu GM ta com as includes definidas no topo?? O erro do ID й pq a variavel ja existe.


Re: >> ERRO AO COMPILAR << - zDark - 03.05.2015

Includes usados no topo sгo essas:

Quote:

#include <a_samp>
#include <dof2>
#include <sscanf>
#include <streamer>
#include <zcmd>
#include <Losgs>




Re: >> ERRO AO COMPILAR << - SkilL_Fly - 03.05.2015

26 erros se eu nao me engano e erro de Chave " } { " vocк mexeu em algum codigo verifica ele


Re: >> ERRO AO COMPILAR << - GabrielDias_Invision - 03.05.2015

Deve ser fechamento de } errado. Vai vendo nas linhas do erro as aberturas e fechamentos de { }


Re: >> ERRO AO COMPILAR << - zDark - 03.05.2015

Olhei aqui o erro e quando do espaзo para otro codigio tipo EX:

Quote:

Barra[3] = TextDrawCreate(291.000000, 429.000000, "");
TextDrawBackgroundColor(Barra[3], 255);
TextDrawFont(Barra[3], 3);
TextDrawLetterSize(Barra[3], 0.310000, 1.600000);
TextDrawColor(Barra[3], -2139062017);
TextDrawSetOutline(Barra[3], 1);
TextDrawSetProportional(Barra[3], 1);
>>>>>O ERRO ESTA NESTA LINHA DO ESPAЗO <<<<<<<<<<<<<<<<<
Barra[4] = TextDrawCreate(15.000000, 430.000000, "");
TextDrawBackgroundColor(Barra[4], 255);
TextDrawFont(Barra[4], 3);
TextDrawLetterSize(Barra[4], 0.330000, 1.600000);
TextDrawColor(Barra[4], -2139062017);
TextDrawSetOutline(Barra[4], 1);
TextDrawSetProportional(Barra[4], 1);



Re: >> ERRO AO COMPILAR << - GabrielDias_Invision - 03.05.2015

Se continua sempre os 26 erros, com ctz й chave que nao foi fechada.


Respuesta: Erros ao compilar - JuniorTheDM - 03.05.2015

tenta la
PHP код:
{
for(new 
0MAX_PLAYER_TEXT_DRAWSi++) PlayerTextDrawSetSelectable(PlayerText:itrue);




Re: Erros ao compilar - Cleyson - 03.05.2015

Tem um tabulador criado pelo ipsBruno ele analisa os brackets }{
Se vocк perdeu o local onde mexeu neles tente analisar o cуdigo todo ou por partes..
link