SA-MP Forums Archive
PAWN compiler doesn't include all files - 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: PAWN compiler doesn't include all files (/showthread.php?tid=565459)



PAWN compiler doesn't include all files - Callum98 - 27.02.2015

Here is all the files I include

It includes all of the files up to this include
pawn Код:
#include "./../scriptfiles/commands/admin.txt"
and if I remove a file the compiler includes that file so it's not just that file.

Anyone know a fix/workaround without having to put it into one big file.

Edit:
For those interested in a fix, remove the ./ at the start so it just becomes ../ instead of ./../


Re: PAWN compiler doesn't include all files - SweetRP - 27.02.2015

Maybe it's some include limit? Have you tried changing includes?


Re: PAWN compiler doesn't include all files - Callum98 - 27.02.2015

Quote:
Originally Posted by SweetRP
Посмотреть сообщение
Maybe it's some include limit? Have you tried changing includes?
What do you mean by "changing includes"?


Re: PAWN compiler doesn't include all files - SweetRP - 27.02.2015

I thought you change in places the colours.txt with admins.txt and see if colours.txt loads... Maybe there's a problem in your admins.txt...


Re: PAWN compiler doesn't include all files - Michael B - 27.02.2015

Switching their lines.

E.g.

#include <a_samp>
#include <streamer>
#include <zcmd>
>>>
#include <a_samp>
#include <zcmd>
#include <streamer>


Re: PAWN compiler doesn't include all files - Callum98 - 27.02.2015

Quote:
Originally Posted by SweetRP
Посмотреть сообщение
I thought you change in places the colours.txt with admins.txt and see if colours.txt loads... Maybe there's a problem in your admins.txt...
I've already tried that, read my question and the answers there.

Quote:
Originally Posted by R3N3X
Посмотреть сообщение
Switching their lines.

E.g.

#include <a_samp>
#include <streamer>
#include <zcmd>
>>>
#include <a_samp>
#include <zcmd>
#include <streamer>
That wouldn't work as the files I am trying to include need to be before the other includes in order for them to use their contents.