• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] Gamemode does not compile using YSI includes
#1
Hello guys, I'm developing my gamemode in module, and recently I decided to implement YSI includes to use y_iterate and y_hooks.?



However when adding YSI includes, declare y_iterate and remove the foreach my gamemode does not compile, it doesn't display any errors, it just doesn't compile.



I'm just using the player loop in my scripts: "foreach (new i: Player)"



The only thing I did was install the latest version (5.4.102) of YSI includes, remove the include foreach declaration: "#include <foreach>", and declare the new one, which is y_iterate: "#include <YSI_Data \ y_iterate> ". only that.
  Reply
#2
You must use the community compiler in order to use YSI5



https://github.com/pawn-lang/compiler/
  Reply
#3
(2021-01-30, 12:09 AM)Markski Wrote: You must use the community compiler in order to use YSI5



https://github.com/pawn-lang/compiler/





It worked, but it gave me several problems with const, but everything is already solved. thank you.
  Reply
#4
(2021-01-31, 09:46 PM)Frajola Wrote: It worked, but it gave me several problems with const, but everything is already solved. thank you.

Actually, this was already there. The stock compiler however just never "realised" that (the community compiler does); https://github.com/pawn-lang/compiler/wi...orrectness
  Reply


Forum Jump: