SA-MP Forums Archive
y_ini 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: y_ini Problem (/showthread.php?tid=525548)



y_ini Problem - Andre02 - 12.07.2014

Recently i had a problem which was:

pawn Код:
C:\Users\Andre\Desktop\GTA San Andreas User Files\samp server\pawno\include\YSI/y_ini.inc(162) : fatal error 100: cannot read from file: "internal\y_version"

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
so i readed the errors and warnings topic from ****** and the problem is solved but now the problem is:

pawn Код:
C:\Users\Andre\Desktop\GTA San Andreas User Files\samp server\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
C:\Users\Andre\Desktop\GTA San Andreas User Files\samp server\pawno\include\YSI\y_hooks/impl.inc(2339) : error 025: function heading differs from prototype
C:\Users\Andre\Desktop\GTA San Andreas User Files\samp server\pawno\include\YSI\y_hooks/impl.inc(2386) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
hope you can help me thank you.


Re: y_ini Problem - TwinkiDaBoss - 12.07.2014

pawn Код:
#include <YSI\y_ini>
Not the. You used "/" instead of "\"


Re: y_ini Problem - Andre02 - 12.07.2014

yes yes i know that was the problem for the 1st problem but now it gives me the 2nd problem.


Re: y_ini Problem - TwinkiDaBoss - 12.07.2014

Show us the lines that you have problem with mate


Re: y_ini Problem - BroZeus - 12.07.2014

this is cazed by using multiple version of YSI together or using and old version of it
Solution - https://sampforum.blast.hk/showthread.php?tid=488198


Re: y_ini Problem - Andre02 - 12.07.2014

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
this is cazed by using multiple version of YSI together or using and old version of it
Solution - https://sampforum.blast.hk/showthread.php?tid=488198
did it correctly and 2 new errors added :

pawn Код:
C:\Users\Andre\Desktop\GTA San Andreas User Files\samp server\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
C:\Users\Andre\Desktop\GTA San Andreas User Files\samp server\pawno\include\YSI\y_hooks/impl.inc(2339) : error 025: function heading differs from prototype
C:\Users\Andre\Desktop\GTA San Andreas User Files\samp server\pawno\include\YSI\y_hooks/impl.inc(2386) : error 025: function heading differs from prototype
C:\Users\Andre\Desktop\GTA San Andreas User Files\samp server\pawno\include\YSI\y_hooks/impl.inc(2431) : error 010: invalid function or declaration
C:\Users\Andre\Desktop\GTA San Andreas User Files\samp server\pawno\include\YSI\y_hooks/impl.inc(2820) : error 010: invalid function or declaration



Re: y_ini Problem - TwinkiDaBoss - 12.07.2014

Show us lines

Quote:

1755
2339
2386
2431
2820

Press CTRL + G in pawn and look for those lines.


Re: y_ini Problem - Andre02 - 12.07.2014

i dont have those lines my script stop at line 734.
you want the pastebin ?


Re: y_ini Problem - BroZeus - 12.07.2014

see the errors
those errors are in inlcude file
Delete all your YSI include
download latest version and paste it


Re: y_ini Problem - Andre02 - 12.07.2014

its fixed
i deleted impl.inc from y_hooks folder and then i copied that :https://github.com/Y-Less/YSI-Includ...hooks/impl.inc
and did a new impl.inc and pasted that (^) in.

Thank you for your help anyway