SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 27/02/2015, 06:16 PM   #1
Callum98
Little Clucker
 
Join Date: Jul 2014
Posts: 20
Reputation: 3
Default PAWN compiler doesn't include all files

Here is all the files I include

It includes all of the files up to this include
pawn Code:
#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 ./../

Last edited by Callum98; 11/03/2015 at 07:18 PM.
Callum98 is offline   Reply With Quote
Old 27/02/2015, 06:18 PM   #2
SweetRP
Little Clucker
 
Join Date: Feb 2015
Location: Latvia
Posts: 13
Reputation: 0
Default Re: PAWN compiler doesn't include all files

Maybe it's some include limit? Have you tried changing includes?
SweetRP is offline   Reply With Quote
Old 27/02/2015, 06:22 PM   #3
Callum98
Little Clucker
 
Join Date: Jul 2014
Posts: 20
Reputation: 3
Default Re: PAWN compiler doesn't include all files

Quote:
Originally Posted by SweetRP View Post
Maybe it's some include limit? Have you tried changing includes?
What do you mean by "changing includes"?
Callum98 is offline   Reply With Quote
Old 27/02/2015, 06:24 PM   #4
SweetRP
Little Clucker
 
Join Date: Feb 2015
Location: Latvia
Posts: 13
Reputation: 0
Default Re: PAWN compiler doesn't include all files

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...
SweetRP is offline   Reply With Quote
Old 27/02/2015, 06:27 PM   #5
Michael B
High-roller
 
Michael B's Avatar
 
Join Date: Oct 2014
Location: Romania
Posts: 1,004
Reputation: 127
Default Re: PAWN compiler doesn't include all files

Switching their lines.

E.g.

#include <a_samp>
#include <streamer>
#include <zcmd>
>>>
#include <a_samp>
#include <zcmd>
#include <streamer>
__________________
Michael B is offline   Reply With Quote
Old 27/02/2015, 06:29 PM   #6
Callum98
Little Clucker
 
Join Date: Jul 2014
Posts: 20
Reputation: 3
Default Re: PAWN compiler doesn't include all files

Quote:
Originally Posted by SweetRP View Post
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 View Post
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.
Callum98 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PAWN Compiler Error Unable to execute Compiler.. Geeboi_Mehdi General 13 07/11/2015 04:26 PM
Please help ( PAWN Compiler "Error Unable to execute Compiler...") morocco Scripting Help 4 05/02/2013 03:34 PM
Way to change .map (MTA Map) files to .pawn (SAMP Files)- luey41 Scripting Help 6 30/07/2012 11:26 PM
[Tool/Web/Other] PAWN Scanner - Scan PAWN files for information. Slice Tools and Files 10 15/07/2012 07:09 PM
[Help With Pawn] Pawn and compiler is not working..... D_Less Client Support 3 09/03/2012 04:49 AM


All times are GMT. The time now is 06:54 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.