SA-MP Forums Archive
None of my includes work anymore - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: None of my includes work anymore (/showthread.php?tid=208495)



None of my includes work anymore - Ice-cup - 08.01.2011

Since the 0.3c update none of my includes work.
When compiling I get the "fatal" error that the script can't read one of them. When removed that one it goes to the next include on the includes lines.

YES I do got it in the correct folder and YES I do get an error in the includes:
no public entrypoint.
Even if I put a public callback in there which is empty like:
Код:
Ongamemodeinit()
{
return 1;
}
it doesn't work.

Any clue?


Re: None of my includes work anymore - dclaw - 08.01.2011

do u have on the top of ur script:
#include <a_samp>


Re: None of my includes work anymore - Joe Staff - 08.01.2011

Also you need

main(){}

Make sure that when you downloaded 0.3c, that you use the pawno.exe included


Re: None of my includes work anymore - Ice-cup - 08.01.2011

Yup. In both includes and script.


Re: None of my includes work anymore - Ice-cup - 08.01.2011

I've put the main(){} in both script and includes, still not working.
And as I said in the main post, it is in the right folder:
pawno/includes.


Re: None of my includes work anymore - Mauzen - 08.01.2011

Try to include the whole absolute path to the file
E.g. include "c:\abc\def\pawno\include\include.inc"

And please use the edit button. You do not have to post 2 times in 5 minutes.


Re: None of my includes work anymore - Ice-cup - 08.01.2011

Still not working even tho I put the whole path in it.

And sorry about the double posting, I just don't want this thread to be neglected since that happened more.