help include
#1

Код:
includes\system\house.pwn(25) : fatal error 111: user error: "You need foreach.inc"


Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Код:
#if !defined _foreach_included
	#error "You need foreach.inc"
#endif
but I have in pawno >> includes folder foreach.inc and new one.
Reply
#2

Use it on top of your script:
pawn Код:
#include <foreach>
Reply
#3

When I place in on top I got error:

D:\Users\GEMX\Desktop\gammd\pawno\include\YSI\y_it erate.inc(217) : fatal error 111: user error: "Please include a_samp or a_npc before foreach"


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#4

pawn Код:
#include <a_samp>
#include <foreach>
Reply
#5

so use:
pawn Код:
#include <a_samp>
#include <foreach>
Reply
#6

You probably have foreach placed first.
Place a_samp first in list.
pawn Код:
#include <a_samp>
#include <foreach>
this is what i have

pawn Код:
#include <a_samp>
#include <a_mysql>
#include <zcmd>
#include <sscanf2>
#include <foreach>
#include <streamer>
#include <bodyparts>
#include <easydialog>
#include <a_pause>
#include <mSelection>
#include <messagebox>
#include <serverobjects>
#include <progress>
#include <h_colors>
#include <OPSP>
#include <PlayerToPlayer>
#include <cuffs>
#include <strlib>
#include <YSI\y_va>
Reply
#7

And then I got same error:

includes\system\house.pwn(25) : fatal error 111: user error: "You need foreach.inc"


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#8

Download last version of foreach from here and replace it with your last foreach.inc.
Reply
#9

you have the include in the include folder?

(Foldername/Pawno/Include/Foreach.inc)
Reply
#10

Download the foreach or copy it from other scripts
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)