[hook problem] hook OnVehDamageStatusUpd
#5

I definitely have the latest version.

But I was looking for more about this, and I found something (see below), and now the hook work:

Код:
DEFINE_HOOK_REPLACEMENT(Damage, Dmg);

hook OnVehicleDmgStatusUpd(vehicleid, playerid) 
{ 
    printf("[debug] hook OnVehicleDamageStatusUpdate(%d, %d)", vehicleid, playerid);
    return Y_HOOKS_CONTINUE_RETURN_1;
}
Reply


Messages In This Thread
[hook problem] hook OnVehDamageStatusUpd - by RedGun2015 - 11.04.2018, 15:57
Re: [hook problem] hook OnVehDamageStatusUpd - by denNorske - 11.04.2018, 16:52
Re: [hook problem] hook OnVehDamageStatusUpd - by RedGun2015 - 11.04.2018, 16:55
Re: [hook problem] hook OnVehDamageStatusUpd - by denNorske - 11.04.2018, 16:59
Re: [hook problem] hook OnVehDamageStatusUpd - by RedGun2015 - 12.04.2018, 12:29

Forum Jump:


Users browsing this thread: 1 Guest(s)