SA-MP Forums Archive
Errors in the YSI/Y_HOOK include. - 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: Errors in the YSI/Y_HOOK include. (/showthread.php?tid=538185)



Errors in the YSI/Y_HOOK include. - EgyptForLife - 20.09.2014

Hi,
I was compiling a gamemode and i got errors from the YSI/Y_HOOK include. I didn't touch it and got errors from it while compiling the gamemode.
Errors :
Code:
C:\Users\SA-MP\Desktop\Fun-Generation DD.DM\pawno\include\YSI\y_hooks/impl.inc(2336) : error 025: function heading differs from prototype
C:\Users\SA-MP\Desktop\Fun-Generation DD.DM\pawno\include\YSI\y_hooks/impl.inc(2383) : error 025: function heading differs from prototype
C:\Users\SA-MP\Desktop\Fun-Generation DD.DM\pawno\include\YSI\y_hooks/impl.inc(2819) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickTextDraw")
C:\Users\SA-MP\Desktop\Fun-Generation DD.DM\pawno\include\YSI\y_hooks/impl.inc(2863) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayerTextDraw")
C:\Users\SA-MP\Desktop\Fun-Generation DD.DM\pawno\include\YSI\y_hooks/impl.inc(2907) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\SA-MP\Desktop\Fun-Generation DD.DM\pawno\include\YSI\y_hooks/impl.inc(2959) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditAttachedObject")
C:\Users\SA-MP\Desktop\Fun-Generation DD.DM\pawno\include\YSI\y_hooks/impl.inc(3018) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: Errors in the YSI/Y_HOOK include. - EgyptForLife - 20.09.2014

*BUMB* Topic reached 2nd page and I still need help


Re: Errors in the YSI/Y_HOOK include. - Pottus - 20.09.2014

Your using an old version it looks like.


Re: Errors in the YSI/Y_HOOK include. - EgyptForLife - 20.09.2014

I am using v3.1 for SA-MP server 0.3z R4, in this thread, and it ain't old version.


Re: Errors in the YSI/Y_HOOK include. - XGreen - 20.09.2014

Are you using other's gamemode or your own gamemode?


Re: Errors in the YSI/Y_HOOK include. - EgyptForLife - 20.09.2014

Quote:
Originally Posted by XGreen
View Post
Are you using other's gamemode or your own gamemode?
Other gamemodes, and I am editing it to be like me , check my signature.


Re: Errors in the YSI/Y_HOOK include. - XGreen - 20.09.2014

Find the include requirements and replace it in your pawno/include


Re: Errors in the YSI/Y_HOOK include. - EgyptForLife - 20.09.2014

Quote:
Originally Posted by XGreen
View Post
Find the include requirements and replace it in your pawno/include
pawn Code:
#include <a_samp>
#include <zcmd>
#include <YSI\y_ini>
#include <sscanf2>
And all are in the includes folder, i did that before I compile but in the end it gave me ERROR, idk why....


Re: Errors in the YSI/Y_HOOK include. - XGreen - 20.09.2014

Quote:
Originally Posted by EgyptForLife
View Post
pawn Code:
#include <a_samp>
#include <zcmd>
#include <YSI\y_ini>
#include <sscanf2>
And all are in the includes folder, i did that before I compile but in the end it gave me ERROR, idk why....
Find the correct version