PAWN compiler doesn't include all files
#1

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 ./../
Reply
#2

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

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

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...
Reply
#5

Switching their lines.

E.g.

#include <a_samp>
#include <streamer>
#include <zcmd>
>>>
#include <a_samp>
#include <zcmd>
#include <streamer>
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)