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")
#if defined _ALS_CreateVehicle #undef CreateVehicle #else #define _ALS_CreateVehicle #endif #define CreateVehicle Iter_CreateVehicle
#if defined _ALS_AddStaticVehicle #undef AddStaticVehicle #else #define _ALS_AddStaticVehicle #endif #define AddStaticVehicle Iter_AddStaticVehicle
#if defined _ALS_AddStaticVehicleEx #undef AddStaticVehicleEx #else #define _ALS_AddStaticVehicleEx #endif #define AddStaticVehicleEx Iter_AddStaticVehicleEx
#if defined _ALS_AddStaticVehicleEx #undef AddStaticVehicleEx #else #define _ALS_AddStaticVehicleEx #endif #define AddStaticVehicleEx Iter_AddStaticVehicleEx
YSI hooks the function correctly so the problem is in another include that defines these four vehicle functions and just reports the first include found. I've seen many complains about those includes that get vehicle color that never used hooks and take a look here: https://sampforum.blast.hk/showthread.php?tid=570910
|