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



YSF - God'Z War - 24.06.2012

[problem solved]


Re: YSF - Grand_Micha - 24.06.2012

DOWNLOAD

Use the YSI.so file.


Re: YSF - God'Z War - 24.06.2012

When i compile with this i got error
Quote:

C:\Users\hp\Desktop\3e server\pawno\include\YSF.inc(96) : error 025: function heading differs from prototype
C:\Users\hp\Desktop\3e server\pawno\include\YSF.inc(96) : error 025: function heading differs from prototype




Re: YSF - God'Z War - 24.06.2012

This Is the code
Код:
-*----------------------------------------------------------------------------*/

/*----------------------------------------------------------------------------*-
					=================
					 y_ini Libraries
					=================
-*----------------------------------------------------------------------------*/

// File functions
native ffind(const pattern[], filename[], len, &idx);
native frename(const oldname[], const newname[]);

// Directory functions
native dfind(const pattern[], filename[], len, &idx);
native dcreate(const name[]);
native drename(const oldname[], const newname[]);
Error
Код:
C:\Users\hp\Desktop\3e server\pawno\include\YSI\y_files.inc(83) : error 025: function heading differs from prototype
C:\Users\hp\Desktop\3e server\pawno\include\YSI\y_files.inc(83) : error 025: function heading differs from prototype



Re: YSF - Grand_Micha - 24.06.2012

Why don't you tell us how many of those frename functions you have in your includes and scripts? Delete the others.


Re: YSF - God'Z War - 24.06.2012

Can You Say Which All Possible to have frename
i am using this includes
Quote:

#include <a_samp>
#include <Ldudb>
#include <KZI>
#include <streamer>
#include <zcmd>
#include <YSI\y_ini>
#include <YSI\y_files>




Re: YSF - Grand_Micha - 24.06.2012

I am sorry, but I have no idea. You have to look through all your includes - or, better yet, you use Ctrl+F and search for frename in your files.


Re: YSF - God'Z War - 24.06.2012

i got frename in my gm
i deleted but till now the same error occured
i saw ffind


Re: YSF - Grand_Micha - 24.06.2012

No, I do not mean lines where you are using it. I mean defining lines. If, e.g., you had native frename(...) two times, then you should delete the one that isn't in YSI.


Re: YSF - God'Z War - 24.06.2012

Grand_Micha thnz thnz thnz
i have solved i deleted frename on includes now every thing work fine.
i have posted in somany place but now i solved i am very happy

+REP FOR YOU