07.05.2016, 08:38
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
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