C:\Users\Louis Alcosaba\Desktop\garhouse_v2.0\pawno\include\foreach.inc(211) : error 001: expected token: "#endif", but found "-end of file-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
// <foreach> exists - test which is newer.
#if defined _inc_y_iterate
#if !defined _FOREACH_CUR_VERSION
// Foreach exists, but it's an old version - don't try use this
// system or the variables will conflict.
#error "Old foreach.inc files are no longer compatible with YSI."
#endinput
#endif
#if _FOREACH_CUR_VERSION > _FOREACH_LOCAL_VERSION
// Foreach is newer.
#undef _inc_y_iterate
#define _FOREACH_NO_TEST
#include <YSI\y_iterate>
#endinput <<<<----------------------LINE 211
#endif
#endif
#endif
#if !defined _samp_included
#error "Please include a_samp or a_npc before foreach"
#endif
#if defined _YSI_SPECIAL_DEBUG
#define PS_IS_PLAYER_CONNECTED(%0) (%0 != INVALID_PLAYER_ID)
#else
|
// <foreach> exists - test which is newer. #if defined _inc_y_iterate #if !defined _FOREACH_CUR_VERSION // Foreach exists, but it's an old version - don't try use this // system or the variables will conflict. #error "Old foreach.inc files are no longer compatible with YSI." #endinput #endif #if _FOREACH_CUR_VERSION > _FOREACH_LOCAL_VERSION // Foreach is newer. #undef _inc_y_iterate #define _FOREACH_NO_TEST #include <YSI\y_iterate> #endinput <<<<----------------------LINE 211 #endif #endif #if !defined _samp_included #error "Please include a_samp or a_npc before foreach" #endif #if defined _YSI_SPECIAL_DEBUG #define PS_IS_PLAYER_CONNECTED(%0) (%0 != INVALID_PLAYER_ID) #endif |
|
i think you must delete one of your #endif ...
this code to replace give it a try , i think it can fix that |
C:\Users\Louis Alcosaba\Desktop\garhouse_v2.0\pawno\include\foreach.inc(211) : error 001: expected token: "#endif", but found "-end of file-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
|
Download THIS include and replace your existing foreach.inc
|
C:\Users\Louis Alcosaba\Desktop\garhouse_v2.0\GarHouse.pwn(65) : fatal error 100: cannot read from file: "foreach" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
//============================================================================== // Includes //============================================================================== #define FILTERSCRIPT // Important #include <a_samp> // Credits to the SA:MP Developement Team #include <sscanf2> // Credits to ****** #include <YSI\y_ini> // Credits to ****** #include <ZCMD> // Credits to Zeex #include <streamer> // Credits to Incognito #include <foreach> // Credits to ****** <<<<---- LINE 65 //##############################################################################
|
still having the same problem..
Код:
C:\Users\Louis Alcosaba\Desktop\garhouse_v2.0\GarHouse.pwn(65) : fatal error 100: cannot read from file: "foreach" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |