SA-MP Forums Archive
Error I just can't fix :/ - 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: Error I just can't fix :/ (/showthread.php?tid=576358)



Error I just can't fix :/ - Kruno88 - 03.06.2015

Umm...I use versin 0.3.7.If anybody can send me a link for their impl.inc,that doesn't have any errors?
Код:
C:\Users\Korisnik\Desktop\Kruno programi\Zombie RP\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
C:\Users\Korisnik\Desktop\Kruno programi\Zombie RP\pawno\include\YSI\y_hooks/impl.inc(2342) : error 025: function heading differs from prototype
C:\Users\Korisnik\Desktop\Kruno programi\Zombie RP\pawno\include\YSI\y_hooks/impl.inc(2389) : error 025: function heading differs from prototype
C:\Users\Korisnik\Desktop\Kruno programi\Zombie RP\pawno\include\YSI\y_hooks/impl.inc(2825) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickTextDraw")
C:\Users\Korisnik\Desktop\Kruno programi\Zombie RP\pawno\include\YSI\y_hooks/impl.inc(2869) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayerTextDraw")
C:\Users\Korisnik\Desktop\Kruno programi\Zombie RP\pawno\include\YSI\y_hooks/impl.inc(2913) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\Korisnik\Desktop\Kruno programi\Zombie RP\pawno\include\YSI\y_hooks/impl.inc(2965) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditAttachedObject")
C:\Users\Korisnik\Desktop\Kruno programi\Zombie RP\pawno\include\YSI\y_hooks/impl.inc(3024) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")



Re: Error I just can't fix :/ - Private200 - 03.06.2015

Have you modified something on the include? If not, then you're messing up something in the script itself which causes the error come from include.


Re: Error I just can't fix :/ - Kruno88 - 03.06.2015

Nope.Didn't do anything,lol.


AW: Error I just can't fix :/ - Kaliber - 03.06.2015

Are you sure you start the right pawno?

If you are sure (pls check dat first)...then go in the include and just modify it...you must change the forward & public declaration to the forward declaration in the a_samp Include


Re: AW: Error I just can't fix :/ - Kruno88 - 03.06.2015

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Are you sure you start the right pawno?

If you are sure (pls check dat first)...then go in the include and just modify it...you must change the forward & public declaration to the forward declaration in the a_samp Include
I honestly hate guys like you.I call them 'smarties'.You know why?They just say bunch of shit,that doesn't make any sence to me.They think they are sooo smart.You just know how to solve it in theory,not in Pawn.


AW: Re: AW: Error I just can't fix :/ - Kaliber - 03.06.2015

Quote:
Originally Posted by Kruno88
Посмотреть сообщение
I honestly hate guys like you.I call them 'smarties'.You know why?They just say bunch of shit,that doesn't make any sence to me.
Come down dude...
What doesn't make any sense?!

Are you sure, you open your script with the right PAWNO? Because it seems like you open it with a wrong Pawno with old Includes...


Re: AW: Re: AW: Error I just can't fix :/ - Kruno88 - 03.06.2015

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Are you sure you start the right pawno?

If you are sure (pls check dat first)...then go in the include and just modify it...you must change the forward & public declaration to the forward declaration in the a_samp Include
Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Come down dude...
What doesn't make any sense?!

Are you sure, you open your script with the right PAWNO? Because it seems like you open it with a wrong Pawno with old Includes...
NO.NO.


Re: Error I just can't fix :/ - Luis- - 03.06.2015

I could eat some Smarties right about now. Try re-downloading YSI, the errors seem to be coming from that.


Re: AW: Error I just can't fix :/ - rappy93 - 03.06.2015

Quote:
Originally Posted by Kruno88
Посмотреть сообщение
I honestly hate guys like you.I call them 'smarties'.You know why?They just say bunch of shit,that doesn't make any sence to me.They think they are sooo smart.You just know how to solve it in theory,not in Pawn.
The guy gave you a perfectly good explanation of what might be the cause but instead of thanking him you insult him. Great job! Hope you get the issue fixed with that attitude.

Also, don't expect things to be handed over to you on a plate, here we help people that want to learn.

Note: As the errors state, the declaration of those functions from the include is different from the ones in the a_samp.inc so do a search and see if you can spot the differences.