y_ini Problem
#1

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

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

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

Show us the lines that you have problem with mate
Reply
#5

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

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

Show us lines

Quote:

1755
2339
2386
2431
2820

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

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

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)