SA-MP Forums Archive
GM Complie. [1Error] Help me! - 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: GM Complie. [1Error] Help me! (/showthread.php?tid=410663)



GM Complie. [1Error] Help me! - bathushan - 26.01.2013

Well, My Gm Had No Faction System befor.
Today i try to add a Faction system (PD) (i Try to Copy It from A GM)
After i added it. i try to Compie it. I got this Error

Quote:

C:\Users\N.Bathushan Raj\Desktop\MY-RP\gamemodes\RPTEST.pwn(11) : fatal error 100: cannot read from file: "foreach"

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


1 Error.

As i know this error comes When i had No ''foreach.inc''
But i have ''foreach.inc'' file!

How to fix it. Anyone help me please! Ty


Re: GM Complie. [1Error] Help me! - daniboi229 - 26.01.2013

where exactly is your foreach.inc file? and where is your include trying to call it from?


Re: GM Complie. [1Error] Help me! - SAMPHacker - 26.01.2013

thats foreach include by ******: http://pastebin.com/Seseuh2x


Re: GM Complie. [1Error] Help me! - Zex Tan - 26.01.2013

Put foreach.inc in the include folder then add:

pawn Код:
#include <foreach>
On top of your script


Re: GM Complie. [1Error] Help me! - bathushan - 26.01.2013

Quote:
Originally Posted by Zex Tan
Посмотреть сообщение
Put foreach.inc in the include folder then add:

pawn Код:
#include <foreach>
On top of your script
I have This!!! Already!

Quote:
Originally Posted by SAMPHacker
Посмотреть сообщение
thats foreach include by ******: http://pastebin.com/Seseuh2x
Tried - Not Helped. the Same Error!

Quote:
Originally Posted by daniboi229
Посмотреть сообщение
where exactly is your foreach.inc file? and where is your include trying to call it from?
It's on
MY-RP > Pawno > Include


//---------------------------------------------------------------------------------------------------------------------
I have that error Still. Anyone can help me please?


EDIT
Fixed !!! - I rerun Recompie foreach. and Rerun and Remove the faction script and recompie my GM.

have to make again the faction :P

Can close this Topic!