12.02.2017, 02:29
(
Последний раз редактировалось danielpalade; 25.09.2017 в 21:59.
)
-- DELETED --
enum _:E_VEHICLE_DATA
|
I've experienced the same warning before, and defining the enum with a different syntax seems to stop it:
PHP код:
![]() |
../linkmania/races.inc(81) : error 021: symbol already defined: "vRace" ../linkmania/races.inc(812) : error 032: array index out of bounds (variable "E_VEHICLE")
stock UnloadRace()
{
memset(E_ACTIVE_RACE, 0, E_RACES_DATA);
foreach (new i : Vehicles)
{
new next;
if (E_VEHICLE[i][vRace] != 1)
continue;
created_vehicles --;
DestroyVehicle(E_VEHICLE[i][vVehicle]);
VehicleIndex[E_VEHICLE[i][vVehicle]] = -1;
ResetVehicleVariables(i);
Iter_SafeRemove(Vehicles, i, next);
i = next;
}
}