Posts: 56
Threads: 14
Joined: Jul 2009
Reputation:
0
Hey.
Ive been searching all over ****** but I cant find answer to my question. How do I compile a include file for SAMP? if I just paste it in pawno, it gives me weird errors, probabbly because pawno is ment for amx. Any program? Thank you.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Include files needn't be compiled. They are included (get it?) when you compile your main script.
Posts: 925
Threads: 36
Joined: Dec 2009
Reputation:
0
You don't need to compile it. Make a new file with the .inc extension and put the text in it then leave it in the pawno\includes folder. Open your GM and add #include <yourinclude> on top.
Posts: 56
Threads: 14
Joined: Jul 2009
Reputation:
0
Oh, so can I create the new file just in notepad and save the extension as .inc?
Posts: 56
Threads: 14
Joined: Jul 2009
Reputation:
0
Thank you so much. Both of you. Really! Thanks!
Posts: 3,351
Threads: 780
Joined: Jan 2010
Don't need to compile your includes. Just create a new .inc file and start writing code inside it.