open.mp forum
[Pawn] YSI acting up - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] YSI acting up (/showthread.php?tid=570)



YSI acting up - Metro - 2019-05-19

I've installed the 5.x branch of the YSI library to get rid of the pesky const correctness warnings and followed the instruction of changing the syntax to include y_hooks in all my files and this was the result



Code:
C:\Users\nonso\Desktop\WaveLS\dependencies\YSI-includes\YSI_Data\y_iterate.inc:108 (fatal) user error: Could not find y_iterate



Build encountered fatal error



Wht's goin on


RE: YSI acting up - Y_Less - 2019-05-19

How are you including it? Can you check if `C:\Users\nonso\Desktop\WaveLS\dependencies\YSI-includes\YSI_Data\y_foreach\y_foreach_entry.inc exists?


RE: YSI acting up - Metro - 2019-05-20

(2019-05-19, 08:30 PM)Y_Less Wrote: How are you including it?

Code:
#include <YSI_Data\y_iterate>

(2019-05-19, 08:30 PM)Y_Less Wrote: Can you check if `C:\Users\nonso\Desktop\WaveLS\dependencies\YSI-includes\YSI_Data\y_foreach\y_foreach_entry.inc exists?

it does indeed exist


RE: YSI acting up - Y_Less - 2019-05-20

Try y_foreach not y_iterate, shouldn't make a difference, but everything else looks correct


RE: YSI acting up - Metro - 2019-05-27

(2019-05-20, 07:14 PM)Y_Less Wrote: Try y_foreach not y_iterate, shouldn't make a difference, but everything else looks correct



still doesn't work


RE: YSI acting up - Metro - 2019-06-02

no solution still???


RE: YSI acting up - Y_Less - 2019-06-02

The only think I can think of is you are including the file from some odd set of nested includes. Try include directly from your main script, use `\` always, and make sure you're on 5.x.