I need to use Teamviewer with a scripter for YSI 3.1 Update
#1

It might only take up 10 minutes of your time i'm new to scripting 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 newset 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. Then if you remove it the script comes up with an error saying it can't read the foreach.inc file and same goes for removing #include <foreach>. I have even followed ****** 's installation steps correctly and even renamed #include <foreach> with: #include <YSI\y_iterate> i have also updated foreach.inc with https://sampforum.blast.hk/showthread.php?tid=92679 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 i was working on this script 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
Reply
#2

You neeed to download foreach.. thats all.. or you are using leaked script!
Reply
#3

I have the latest foreach and yes i brought the script of someone off skype but i don't see him on skype anymore.
Reply
#4

It means to stop including foreach.inc and include YSI\y_iterate.inc.

So, where you have:

pawn Код:
#include <foreach>
It should become:

pawn Код:
#include <YSI\y_iterate>
Same functionality, better performance (or something like that).

Had you of SEARCHED before POSTING, you would've found the ANSWER.

If you're still having issues, try re-downloading YSI and also make sure you don't have #include <foreach> in any of your includes...
Reply
#5

As i said i renamed #include <foreach> with: #include <YSI\y_iterate> i have also updated foreach.inc with https://sampforum.blast.hk/showthread.php?tid=92679 but i still have no success.

Had you of READ the QUESTION, you would have given me a better ANSWER.

Yes i have made sure i don't have #include <foreach>. This is why i said could someone help in Team viewer =.=' i have many codes in the script where it says foreach and i'm guessing i need to get it looked at by a scripter.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)