PDA

View Full Version : Compiling error please help


Siddu
31/05/2013, 05:44 AM
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 (c) 1997-2006, ITB CompuPhase


1 Error.


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

PLEASE HELP

MyNinja
31/05/2013, 05:50 AM
And did you place the foreach include in pawno/include(s) ?

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

dubyabeast
31/05/2013, 05:54 AM
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.

Siddu
31/05/2013, 06:18 AM
Ok sir i put them in the includes inside pawno thanks for that :D , 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 (c) 1997-2006, ITB CompuPhase


1 Error.
please help me please

Guest123
31/05/2013, 06:20 AM
download ysi full lol

Faisal_khan
31/05/2013, 06:20 AM
Update your includes.

BossZk
31/05/2013, 06:22 AM
put all those includes in pawno > includes

Siddu
31/05/2013, 06:36 AM
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 (c) 1997-2006, ITB CompuPhase


1 Error.

Ballu Miaa
31/05/2013, 06:38 AM
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.

SupermanV
31/05/2013, 06:47 AM
1)Download this (http://files.sa-mp.com/samp03x_svr_R1-2_win32.zip)
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 :)

Siddu
31/05/2013, 06:55 AM
Thank you all very much my problem is solved :D Thanks guys!!!

SupermanV
31/05/2013, 06:59 AM
Nothing :D