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



Including Problems... - MAFIAWARS - 30.09.2013

My Includition:

pawn Код:
#inclue <a_samp>
#include <zcmd>
#include <sscanf2>
#include <YSI\y_ini>
#include <foreach>
#include <dini>
Error:

pawn Код:
E:\Scripting\gamemodes\Gamemode.pwn(8) : fatal error 100: cannot read from file: "YSI\y_ini"

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


1 Error.
Edit: Already put y_ini.inc File in pawno/include.

Edit: Put the YSI Folder in pawno/include and Now my compliation data is EMPTY, Like this:




Re: Including Problems... - RedWolfX - 30.09.2013

you need to put it in the YSI folder


Re: Including Problems... - MAFIAWARS - 30.09.2013

Edit: Put the YSI Folder in pawno/include and Now my compliation data is EMPTY, Like this:


Re: Including Problems... - MAFIAWARS - 30.09.2013

HELPPPPPPPPPPPP PLZZZZZZZZZ Plz PM me so I can give u my script to solve it.....


Re: Including Problems... - newbie scripter - 30.09.2013

it should be like this Pawno/Include/YSI/y_ini (pawno is where ur pawno.exe or pawnocc is)


Re: Including Problems... - MAFIAWARS - 30.09.2013

Listen newbie Scripter. I am receiving now this Error, See:

pawn Код:
E:\Scripting\pawno\include\YSI\y_iterate.inc(203) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."


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


1 Error.
And That is Scripting\pawno\include\YSI\y_iterate.inc(203):

pawn Код:
// Foreach is testing us. //189
#if defined _FOREACH_INC_TEST //Line 190
    #define _FOREACH_CUR_VERSION _Y_ITERATE_LOCAL_VERSION //Line 191
    #endinput //Line 192
#endif //Line 193
#if !defined _FOREACH_NO_TEST //Line 194
    #define _FOREACH_INC_TEST //Line 195
    #tryinclude <foreach> //Line 196
    #undef _FOREACH_INC_TEST //Line 197
    // <foreach> exists - test which is newer. //Line 198
    #if defined _inc_foreach //Line 199
        #if !defined _FOREACH_CUR_VERSION //Line 200
            // Foreach exists, but it's an old version - don't try use this //Line 201
            // system or the variables will conflict. //Line 202
            #error "Old foreach.inc files are no longer compatible with YSI." //Line 203
            #endinput //Line 204 etc
        #endif
        #if _FOREACH_CUR_VERSION > _Y_ITERATE_LOCAL_VERSION
            // Foreach is newer.
            #undef _inc_foreach
            #define _FOREACH_NO_TEST
            #include <foreach>
            #endinput
        #endif
    #endif
#endif



Re: Including Problems... - newbie scripter - 30.09.2013

Is it the Latest Version?


Re: Including Problems... - Konstantinos - 30.09.2013

Update foreach.inc


Re: Including Problems... - MAFIAWARS - 30.09.2013

Can you give me the link of latest version of foreach?

And @newbie..., Yes It is 3.1v of YSI


Re: Including Problems... - Konstantinos - 30.09.2013

Use ****** next time, MAFIAWARS. It will direct you to foreach's original thread - you can get it from there.

http://pastebin.com/Seseuh2x