SA-MP Forums Archive
Help. i have a problem - 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: Help. i have a problem (/showthread.php?tid=664506)



Help. i have a problem - Gabu - 02.03.2019

Hi, I have a very strange problem.
I put / * * / from the beginning to the end of the gm and I get the error.

new.pwn(1) : error 013: no entry point (no public functions)

the line I receive is
#include <a_samp> //error line
#include <a_mysql>
#include <sscanf2>
#include <foreach>
#include <streamer>


Re: Help. i have a problem - Jeffry - 02.03.2019

You need to have at least one public function. For example OnGameModeInit.
Код:
public OnGameModeInit()
{
	return 1;
}



Re: Help. i have a problem - Gabu - 02.03.2019

Well, I'm in the module if I put the modules in the place I get the next error on line 1, that's with that a_samp
new.pwn(1) : error 038: extra characters on line


Re: Help. i have a problem - Gabu - 02.03.2019

up, pls help


Re: Help. i have a problem - PPC23 - 02.03.2019

Do you have this
Код:
main() {}
Make sure you put /* after the includes.


Re: Help. i have a problem - Gabu - 02.03.2019

Quote:
Originally Posted by PPC23
Посмотреть сообщение
Do you have this
Код:
main() {}
Make sure you put /* after the includes.
I main () is in a module


Re: Help. i have a problem - Gabu - 02.03.2019

help


Re: Help. i have a problem - Jeffry - 02.03.2019

Stop bumping your topic within under 24 hours, please.

Please put your complete code into a pastebin.com and post it here, for us to review it and locate the error.