01.05.2012, 16:50
Please redefine `hooks` using ALS by default as mostly it is used in other includes.
pawn Code:
#if defined _ALS_AddStaticVehicle
#undef AddStaticVehicle
#else
#define _ALS_AddStaticVehicle
#endif
#define AddStaticVehicle n_AddStaticVehicle
#if defined _ALS_AddStaticVehicleEx
#undef AddStaticVehicleEx
#else
#define _ALS_AddStaticVehicleEx
#endif
#define AddStaticVehicleEx n_AddStaticVehicleEx
#if defined _ALS_CreateVehicle
#undef CreateVehicle
#else
#define _ALS_CreateVehicle
#endif
#define CreateVehicle n_CreateVehicle
#if defined _ALS_DestroyVehicle
#undef DestroyVehicle
#else
#define _ALS_DestroyVehicle
#endif
#define DestroyVehicle n_DestroyVehicle
#if defined _ALS_ChangeVehicleColor
#undef ChangeVehicleColor
#else
#define _ALS_ChangeVehicleColor
#endif
#define ChangeVehicleColor n_ChangeVehicleColor
#if defined _ALS_OnVehicleRespray
#undef OnVehicleRespray
#else
#define _ALS_OnVehicleRespray
#endif
#define OnVehicleRespray n_OnVehicleRespray
forward n_OnVehicleRespray(playerid, vehicleid, color1, color2);