[YSI] y_hooks Error
#4

Yes, the problem is with ELC. It doesn't have "killerid" parameter.

Replace:
pawn Код:
public OnVehicleDeath(vehicleid)
{
    CheatVehicleInfo[vehicleid][elc_vX]=0;
        #if defined INCLUDE_BASE_MODE
        return CallLocalFunction("ELC_AC_OnVehicleDeath", "d",vehicleid);
        #else
        return 1;
        #endif
}
/*----------------------------------------------------------------------------*/
#if defined INCLUDE_BASE_MODE
//ALS_SYSTEME --------------------
#if defined _ALS_OnVehicleDeath
        #undef OnVehicleDeath
#else
        #define _ALS_OnVehicleDeath
#endif
#define OnVehicleDeath ELC_AC_OnVehicleDeath
forward ELC_AC_OnVehicleDeath(vehicleid);
#endif
with:
pawn Код:
public OnVehicleDeath(vehicleid, killerid)
{
    CheatVehicleInfo[vehicleid][elc_vX]=0;
        #if defined INCLUDE_BASE_MODE
        return CallLocalFunction("ELC_AC_OnVehicleDeath", "dd",vehicleid, killerid);
        #else
        return 1;
        #endif
}
/*----------------------------------------------------------------------------*/
#if defined INCLUDE_BASE_MODE
//ALS_SYSTEME --------------------
#if defined _ALS_OnVehicleDeath
        #undef OnVehicleDeath
#else
        #define _ALS_OnVehicleDeath
#endif
#define OnVehicleDeath ELC_AC_OnVehicleDeath
forward ELC_AC_OnVehicleDeath(vehicleid, killerid);
#endif
Reply


Messages In This Thread
[YSI] y_hooks Error - by VladimirMark - 08.06.2015, 20:32
Re: [YSI] y_hooks Error - by Konstantinos - 08.06.2015, 21:02
Re: [YSI] y_hooks Error - by VladimirMark - 08.06.2015, 21:06
Re: [YSI] y_hooks Error - by Konstantinos - 08.06.2015, 21:10
Re: [YSI] y_hooks Error - by VladimirMark - 08.06.2015, 21:15

Forum Jump:


Users browsing this thread: 2 Guest(s)