Y-Less
Y-Less
Just a note: the current syntax is both bad and quite hard-coded. It only works for pre-defined tags: https://github.com/pawn-lang/YSI-Includes/blob/b79f10013c2a2d3d97010f00a7d467a75bb40bd6/YSI_Data/y_foreach/y_foreach_macros.inc#L696-L711 That's why your test sadly didn't work @kristoisberg .
I've got it working for normal iterators now. With some conditions: 1) Tagged special iterators have not been tested. 2) A slightly odd error message in some cases: ```pawn new...
Right, I've subtly improved the implementation further. I fixed adding tagged variables, i.e. this didn't work before: ``` new Group:a = Group:55; Iter_Add(TaggedIter, a); ``` Well, it worked but gave...
Have you tried without `-Z+`? I've no clue what that would do on Linux, since it was designed for some (not full) compatibility with the old Windows compiler).
They should work in those cases though, even if there is a fix here. YSI does have a convenience function for unpacking though: ```pawn printf("%s", unpack(Vehicle_Name(vehid))); ```
I've already fixed this locally, I was trying some new amx_assembly code I thought I tested it enough, I was wrong.
So remove them from the vehicle first?
So? they toggle spectating, remove them from the vehicle before setting the camera (or even before starting spectating).
The cache is not the only thing that takes the time, in fact it was designed to reduce startup time in production by giving you a pre-processed AMX you can...
That's really not much to go on unfortunately.