28.05.2013, 08:42
It might only take up 10 minutes of your time, I'm new to scripting and i brought this server form a user in Skype but he is no longer on Skype therefore I can't contact him, but i can't figure this error out. I updated to the latest sscanf.dll and streamer.dll and copied all the files from the YSI 3.1 into my server folder but i can't get the script to compile now because of foreach.inc. The update to the newest YSI version has been successful but when I compile my script now I get this problem
"C:\Users\Leighton\Desktop\GTA\myserver\backup \paw no\include\YSI\y_iterate.inc(203) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."
It's an error that says the foreach.inc file is to old when you try and compile your script. If i delete foreach.inc in pawno\include then the script will crash and say not responding, so i have to leave foreach.inc without deleting it and then if I remove #include <foreach> the script comes up with an error saying it can't read the foreach.inc file. I have even followed ****** 's installation steps correctly and even renamed #include <foreach> with: #include <YSI\y_iterate> which results in this = (fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI.") I have also updated foreach.inc with https://sampforum.blast.hk/showthread.php?tid=92679 (the latest foreach) but i still have no success.
However i can compile a new.pwn file and run it, so all the updates work, I think it's just I can't compile my script I'm working on now because the script was worked on before I updated to the latest YSI so I might have to change things within the script to get it to work but i have no idea what to change and I need the latest YSI
"C:\Users\Leighton\Desktop\GTA\myserver\backup \paw no\include\YSI\y_iterate.inc(203) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."
It's an error that says the foreach.inc file is to old when you try and compile your script. If i delete foreach.inc in pawno\include then the script will crash and say not responding, so i have to leave foreach.inc without deleting it and then if I remove #include <foreach> the script comes up with an error saying it can't read the foreach.inc file. I have even followed ****** 's installation steps correctly and even renamed #include <foreach> with: #include <YSI\y_iterate> which results in this = (fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI.") I have also updated foreach.inc with https://sampforum.blast.hk/showthread.php?tid=92679 (the latest foreach) but i still have no success.
However i can compile a new.pwn file and run it, so all the updates work, I think it's just I can't compile my script I'm working on now because the script was worked on before I updated to the latest YSI so I might have to change things within the script to get it to work but i have no idea what to change and I need the latest YSI