Portal SAMP
[Ajuda] AJUDA COM ESSES ERROS - Versão de Impressão

+- Portal SAMP (https://portalsamp.com)
+-- Fórum: SA-MP (https://portalsamp.com/forumdisplay.php?fid=5)
+--- Fórum: Área de suporte (https://portalsamp.com/forumdisplay.php?fid=6)
+--- Tópico: [Ajuda] AJUDA COM ESSES ERROS (/showthread.php?tid=3878)



AJUDA COM ESSES ERROS - MHO - 06/08/2023

C:\Users\Matheus\Desktop\Nova pasta\pawno\include\DOF2.inc(1) : error 010: invalid function or declaration
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(112) : error 017: undefined symbol "DOF2_Exit"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(147) : error 017: undefined symbol "DOF2_FileExists"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(285) : error 017: undefined symbol "DOF2_CreateFile"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(286) : error 017: undefined symbol "DOF2_SetString"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(287) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(288) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(289) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(290) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(291) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(292) : error 017: undefined symbol "DOF2_SaveFile"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(293) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(294) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(295) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(296) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(297) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(303) : error 017: undefined symbol "DOF2_GetString"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(305) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(306) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(307) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(308) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(309) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(320) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(321) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(322) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(323) : error 017: undefined symbol "DOF2_SetInt"

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


26 Errors.


RE: AJUDA COM ESSES ERROS - sabio - 06/08/2023

(06/08/2023 14:22)MHO Escreveu: C:\Users\Matheus\Desktop\Nova pasta\pawno\include\DOF2.inc(1) : error 010: invalid function or declaration
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(112) : error 017: undefined symbol "DOF2_Exit"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(147) : error 017: undefined symbol "DOF2_FileExists"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(285) : error 017: undefined symbol "DOF2_CreateFile"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(286) : error 017: undefined symbol "DOF2_SetString"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(287) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(288) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(289) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(290) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(291) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(292) : error 017: undefined symbol "DOF2_SaveFile"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(293) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(294) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(295) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(296) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(297) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(303) : error 017: undefined symbol "DOF2_GetString"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(305) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(306) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(307) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(308) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(309) : error 017: undefined symbol "DOF2_GetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(320) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(321) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(322) : error 017: undefined symbol "DOF2_SetInt"
C:\Users\Matheus\Desktop\Nova pasta\gamemodes\TDM.pwn(323) : error 017: undefined symbol "DOF2_SetInt"

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


26 Errors.

include DOF2: https://pastebin.com/p2KAgAin

tenta atualizar a include e definir na GM:

Código:
#include <DOF2>



RE: AJUDA COM ESSES ERROS - xbruno1000x - 06/08/2023

São funções da include DOF2, que como pode ser visto, está com erro na primeira linha. Se a include não for lida, todas as funções dela não poderão ser utilizadas no script. Atualize e tente novamente.


RE: AJUDA COM ESSES ERROS - White_Blue - 09/08/2023

A include DOF2 não está no caminho do compilador do Pawno ou da sua IDE(Por padrão, "Pawno/include/DOF2.inc").