18.12.2017, 18:14
So, basically i tried to include y_timers then i got those warning after trying to compile.
These are the lines that are causing the problem:
So, how can i fix this?
Код HTML:
C:\Users\Kampot\Desktop\SAMP\pawno\include\YSI_Coding\..\YSI_Data\y_foreach/iterators.inc(760) : warning 201: redefinition of constant/macro (symbol "CreateVehicle") C:\Users\Kampot\Desktop\SAMP\pawno\include\YSI_Coding\..\YSI_Data\y_foreach/iterators.inc(778) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicle") C:\Users\Kampot\Desktop\SAMP\pawno\include\YSI_Coding\..\YSI_Data\y_foreach/iterators.inc(802) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicleEx") C:\Users\Kampot\Desktop\SAMP\pawno\include\YSI_Coding\..\YSI_Data\y_foreach/iterators.inc(818) : warning 201: redefinition of constant/macro (symbol "DestroyVehicle")
Код HTML:
#if defined _ALS_CreateVehicle #undef CreateVehicle #else #define _ALS_CreateVehicle #endif #define CreateVehicle Iter_CreateVehicle
Код HTML:
#if defined _ALS_AddStaticVehicle #undef AddStaticVehicle #else #define _ALS_AddStaticVehicle #endif #define AddStaticVehicle Iter_AddStaticVehicle
Код HTML:
#if defined _ALS_AddStaticVehicleEx #undef AddStaticVehicleEx #else #define _ALS_AddStaticVehicleEx #endif #define AddStaticVehicleEx Iter_AddStaticVehicleEx
Код HTML:
#if defined _ALS_AddStaticVehicleEx #undef AddStaticVehicleEx #else #define _ALS_AddStaticVehicleEx #endif #define AddStaticVehicleEx Iter_AddStaticVehicleEx