YSI problem
#1

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
Reply
#2

edit this / to this \ in include.
Reply
#3

is like that
Код:
#include <YSI\y_bit>
Reply
#4

enter into this include (y_bit.inc) and look for it.
Reply
#5

In y_bit.inc is only that

Код:
#if defined _inc_y_bit
	#undef _inc_y_bit
#endif

#include "..\YSI_Data\y_bit"
Reply
#6

i fount the line with
Код:
#include "y_foreach/iterators"
in y_iterate.inc and now i got 21 errors
Reply
#7

u got 21 errors in where or why?
Reply
#8

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
Reply
#9

can u show me a error line? an also +/- 10 line at this error?
Reply
#10

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;
	}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)