Help with foreach
#1

Hello all the scripters of SA-MP,
I have some problem in my script.
After I didn't work on my script a lot of time I want to continue it and I tried to compile it.
I got that error:

Код:
C:\Users\Lior\Desktop\Olympous New RP\gamemodes\rp.pwn(81) : fatal error 100: cannot read from file: "foreach"
How can I fix this problem?
I tried to update the include and new YSI files.
Please help!
Reply
#2

include missing
Reply
#3

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
include missing
You twit.

https://github.com/Kar2k/SAMP-foreach
Reply
#4

If you have multiple server folders, pawno might be opening from the wrong folder and it could be reading the wrong includes folder. So what you should do is go to the server folder you are working with right now, open pawno folder and launch pawno. Then open the gamemode you are working on and then try to compile. I have encountered this problem several times in the past.
Reply


Forum Jump:


Users browsing this thread: