SA-MP Forums Archive
Compiling error please help - 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: Compiling error please help (/showthread.php?tid=440756)



Compiling error please help - Siddu - 31.05.2013

Please help
I'm compiling a downloaded gamemode script and this happens
Код:
C:\Users\user\Desktop\sAMP server\gamemodes\ZI.pwn(2) : fatal error 100: cannot read from file: "foreach"

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


1 Error.
I downloaded the includes
foreach
zcmd
and
fader
and i put them in the folder includes

PLEASE HELP


Re: Compiling error please help - MyNinja - 31.05.2013

And did you place the foreach include in pawno/include(s) ?

Make sure it should be like foreach.inc, not foreach.pwn!


Re: Compiling error please help - dubyabeast - 31.05.2013

I think you put them in the actual includes folder. Put them into the pawno/includes folder, not the includes folder inside of the main folder.


Re: Compiling error please help - Siddu - 31.05.2013

Ok sir i put them in the includes inside pawno thanks for that , now i got different problem
Код:
C:\Users\user\Desktop\sAMP server\pawno\include\foreach.inc(228) : fatal error 100: cannot read from file: "YSI\internal\y_natives"

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


1 Error.
please help me please


Re: Compiling error please help - Guest123 - 31.05.2013

download ysi full lol


Re: Compiling error please help - Faisal_khan - 31.05.2013

Update your includes.


Re: Compiling error please help - BossZk - 31.05.2013

put all those includes in pawno > includes


Re: Compiling error please help - Siddu - 31.05.2013

Okay sir now i installed YSI now i have another new problem pls tell me how to fix this
Код:
C:\Users\user\Desktop\sAMP server\pawno\include\YSI\y_svar.inc(68) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar.


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


1 Error.



Re: Compiling error please help - Ballu Miaa - 31.05.2013

Delete all other Pawno and Game modes folder you have. Make sure that there will be only one Pawno folder with right includes inside it. Paste all the necessary includes over there and compile again. I'm sure it will be resolved.


Re: Compiling error please help - SupermanV - 31.05.2013

1)Download this
2)Open the file > pawno > includes
3)Replace ALL old includes with ALL new includes
4)Replace the announce.exe - samp-npc.exe - samp-samp.exe
5)You are done