Including Problems...
#1

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:

Reply
#2

you need to put it in the YSI folder
Reply
#3

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

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

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

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

Is it the Latest Version?
Reply
#8

Update foreach.inc
Reply
#9

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

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

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

http://pastebin.com/Seseuh2x
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)