YSI includes - 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: YSI includes (
/showthread.php?tid=321274)
YSI includes -
Joey^ - 26.02.2012
Hey. I've made two includes that use some of YSI includes. One of them has: y_ini and y_hooks. And other one has: y_hooks, y_commands and y_ini. And if I include in my gamemode my first include (that has y_ini and y_hooks) and after that include I include my other include, the gamemode won't compile.
Any solutions?
Re: YSI includes -
Madd Kat - 26.02.2012
Include the ysi in the gm before your includes
And dont include ysi in your include file
Re: YSI includes -
Joey^ - 26.02.2012
What if I want to publish that includes? And I want to know why this happens.
And one more thing... When I include the second include, everything compiles fine.
Re: YSI includes -
Madd Kat - 26.02.2012
what errors where you getting?
because the includes should really only allow you to
include them once.
im not an expert at all(or even a good scripter yet) in pawn or samp
so i overlooked that part,
post your errors and hopefully someone can help.
Re: YSI includes -
Joey^ - 26.02.2012
That's the problem. If there were some errors or warnings, I would probably solve them. But there aren't any errors or warnings, it just compiles and compiles... And it never finishes it.
And one more thing that I found out few seconds ago. If I remove y_commands from the second include, it compiles fine.
Re: YSI includes -
Madd Kat - 26.02.2012
yeah you might want to read more on the ysi
im not sure what your trying todo but sounds like you need to use y_master also.
sorry i dont have a more useful response
regards,
Re: YSI includes -
Joey^ - 27.02.2012
Anyone?