YSI_4/y_iterator
#1

Hi,

Does anyone know where it might be wrong? I downloaded the new YSI 4, from Misiur and shows me these errors.

https://github.com/Misiur/YSI-Includes

Код:
SAMP 0.3.7\pawno\include\geolocation.inc(474) : warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
SAMP 0.3.7\pawno\include\Ladder.inc(43) : error 001: expected token: ";", but found "-identifier-"
SAMP 0.3.7\pawno\include\Ladder.inc(80) : error 017: undefined symbol "Iterator@ldr_Index"
SAMP 0.3.7\pawno\include\Ladder.inc(80) : error 017: undefined symbol "Iterator@ldr_Index"
SAMP 0.3.7\pawno\include\Ladder.inc(80) : error 017: undefined symbol "Iter_Single@ldr_Index"
SAMP 0.3.7\pawno\include\Ladder.inc(80) : fatal error 107: too many error messages on one line
Код:
stock CreateLadder(Float:x, Float:y, Float:z, Float:height, Float:angle, world = -1, interior = -1)
{
	new id = Iter_Free(ldr_Index); // Line 80

	ldr_Data[id][ldr_areaID] = CreateDynamicCircle(x, y, 1.0, world, interior);
	ldr_Data[id][ldr_posX] = x;
	ldr_Data[id][ldr_posY] = y;
	ldr_Data[id][ldr_base] = z;
	ldr_Data[id][ldr_top] = height;
	ldr_Data[id][ldr_ang] = angle;

	Iter_Add(ldr_Index, id);

	return id;
}
Код:
static
			ldr_Data[MAX_LADDER][E_LADDER_DATA],
Iterator:	ldr_Index<MAX_LADDER>; // Line 43
Код:
 foreach (Player, playerid)  // Line geolocation :474
Reply
#2

PHP код:
foreach(new Player
And try putting the include after #include <a_samp>
Reply
#3

Could it be, in the code that is used sscanf function.


http://pastebin.com/AT0rXKZA

(Line 171.)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)