Help on Foreach
#1

Help me on my foreach, I got this error..

Код:
C:\Users\aNdRe\Downloads\EG-RP - Copy (5)\0.3e USRP 0.3e\gamemodes\IL-RP.pwn(39) : fatal error 100: cannot read from file: "foreach"

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


1 Error.
Reply
#2

You do not have the include 'foreach' in your pawno/includes folder.
Reply
#3

You must have "foreach" include in pawno->include.

Also you must open pawno and through there open your script.
Also the pawno.exe directory should be where all includes and stuffs are needed to run the script.
Reply
#4

I put my foreach in pawno/includes and still got that error.
Reply
#5

Your foreach file needs to be: foreach.inc
Not foreach(1).inc, or foreach .inc.
Reply
#6

When i rename it, Then i re-compile, my compiler stopped! So? What should i do now?
Reply
#7

Anyone can help me?
Reply
#8

HELP ME NOW PLEASE! ( I NEED IT ON MY SERVER O.O
Reply
#9

DO NOT BUMP your topic,PLUS,is FOR structure so hard to understand:
pawn Код:
for(i=0;i<MAX_PLAYER;i++)
{
    //code[if you use a function that has as params playerid replace it with i]
}
Reply
#10

i really need help. O.o
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)