SA-MP Forums Archive
Include errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Include errors (/showthread.php?tid=645291)



Include errors - Biro - 24.11.2017

Im using one cs gamemode script that uses mysql. and last what I did is I included timetodate.inc and now I get errors from my inc. files and don't know where is the problem?

C:\Users\Goran\Desktop\srv\pawno\include\streamer. inc(155) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(79) : error 017: undefined symbol "CreatePlayerTextDraw"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(79) : warning 213: tag mismatch
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(80) : error 017: undefined symbol "PlayerTextDrawUseBox"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(81) : error 017: undefined symbol "PlayerTextDrawTextSize"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(82) : error 017: undefined symbol "PlayerTextDrawLetterSize"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(83) : error 017: undefined symbol "PlayerTextDrawBoxColor"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(85) : error 017: undefined symbol "CreatePlayerTextDraw"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(85) : warning 213: tag mismatch
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(86) : error 017: undefined symbol "PlayerTextDrawUseBox"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(87) : error 017: undefined symbol "PlayerTextDrawTextSize"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(8 : error 017: undefined symbol "PlayerTextDrawLetterSize"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(89) : error 017: undefined symbol "PlayerTextDrawBoxColor"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(91) : error 017: undefined symbol "CreatePlayerTextDraw"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(91) : warning 213: tag mismatch
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(92) : error 017: undefined symbol "PlayerTextDrawTextSize"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(93) : error 017: undefined symbol "PlayerTextDrawLetterSize"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(94) : error 017: undefined symbol "PlayerTextDrawBoxColor"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(91) : warning 204: symbol is assigned a value that is never used: "in_t"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(113) : error 017: undefined symbol "PlayerTextDrawDestroy"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(114) : error 017: undefined symbol "PlayerTextDrawDestroy"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(115) : error 017: undefined symbol "PlayerTextDrawDestroy"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(137) : error 017: undefined symbol "PlayerTextDrawShow"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(13 : error 017: undefined symbol "PlayerTextDrawShow"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(139) : error 017: undefined symbol "PlayerTextDrawShow"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(170) : error 017: undefined symbol "PlayerTextDrawUseBox"
C:\Users\Goran\Desktop\srv\pawno\include\progress. inc(174) : error 017: undefined symbol "PlayerTextDrawTextSize"
C:\Users\Goran\Desktop\srv\gamemodes\back3.pwn(902 ) : error 017: undefined symbol "CreatePlayerTextDraw"
C:\Users\Goran\Desktop\srv\gamemodes\back3.pwn(902 ) : warning 213: tag mismatch
C:\Users\Goran\Desktop\srv\gamemodes\back3.pwn(903 ) : error 017: undefined symbol "PlayerTextDrawBackgroundColor"
C:\Users\Goran\Desktop\srv\gamemodes\back3.pwn(904 ) : error 017: undefined symbol "PlayerTextDrawFont"

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


26 Errors.


Re: Include errors - thefirestate - 24.11.2017

Does it compile without the include? Also this is usually caused if not all { } are opened and closed properly.


Re: Include errors - Biro - 24.11.2017

I tried now but of course not, can't work without streamer or any inc. file that is in there I can give you mod or script so you can see, things are really f*cked up... I haven't seen this yet in my scripting time


Re: Include errors - RedFusion - 24.11.2017

Try commenting out parts of your script and try compiling again, if the errors are gone then you have localized the problem to the commented part. Did you include a_samp ontop of your includes?


Re: Include errors - Sew_Sumi - 24.11.2017

I'm sure he was meaning to use it without timetodate include... As if it compiles when that's not around, then the issue is elsewhere.