YSI problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: YSI problem (
/showthread.php?tid=649547)
YSI problem -
C0oL3r - 10.02.2018
I've added YSI to my gamemode and when i compile it i get that:
Код:
C:\Users\gora_\Desktop\Samp\pawno\include\YSI\..\YSI_Data\y_foreach/iterators.inc(582) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
[Finished in 17.2s]
I downloaded YSI 4.0.2 from here
https://github.com/pawn-lang/YSI-Includes/releases
and amx folder from here
https://github.com/Zeex/amx_assembly
Re: YSI problem -
Mugala - 10.02.2018
edit this
/ to this
\ in include.
Re: YSI problem -
C0oL3r - 10.02.2018
is like that
Код:
#include <YSI\y_bit>
Re: YSI problem -
Mugala - 10.02.2018
enter into this include (y_bit.inc) and look for it.
Re: YSI problem -
C0oL3r - 10.02.2018
In y_bit.inc is only that
Код:
#if defined _inc_y_bit
#undef _inc_y_bit
#endif
#include "..\YSI_Data\y_bit"
Re: YSI problem -
C0oL3r - 10.02.2018
i fount the line with
Код:
#include "y_foreach/iterators"
in y_iterate.inc and now i got 21 errors
Re: YSI problem -
Mugala - 10.02.2018
u got 21 errors in where or why?
Re: YSI problem -
C0oL3r - 10.02.2018
Oh, i changed something wrongly, i get only one error now:
Код:
C:\Users\gora_\Desktop\Samp\pawno\include\YSI\..\YSI_Data\y_foreach\iterators.inc(582) : error 010: invalid function or declaration
Re: YSI problem -
Mugala - 10.02.2018
can u show me a error line? an also +/- 10 line at this error?
Re: YSI problem -
C0oL3r - 10.02.2018
iterators from line 582
Код:
stock Iter_CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay, addsiren = 0)
{
#if _FOREACH_ACTORS
new
ret = CreateVehicle(modelid, x, y, z, angle, color1, color2, respawn_delay, addsiren);
#else
#pragma unused addsiren
new
ret = CreateVehicle(modelid, x, y, z, angle, color1, color2, respawn_delay);
#endif
broadcastfunc Iter_VehicleDo(true, ret);
#if _FOREACH_LOCALS
Iter_Add(LocalVehicle, ret);
#endif
return ret;
}