Errors in the YSI/Y_HOOK include.
#1

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.
Reply
#2

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

Your using an old version it looks like.
Reply
#4

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

Are you using other's gamemode or your own gamemode?
Reply
#6

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.
Reply
#7

Find the include requirements and replace it in your pawno/include
Reply
#8

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....
Reply
#9

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
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)