[hook problem] hook OnVehDamageStatusUpd
#1

I use

Код:
#include <YSI\y_hooks>

hook OnVehDamageStatusUpd(vehicleid, playerid)
{
        printf("[debug] hook OnVehDamageStatusUpd(%d, %d)", vehicleid, playerid);
	return 1;
}
And the function is not hooked. instead if i use

Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{	
	printf("[debug] OnVehicleDamageStatusUpdate(%d, %d)", vehicleid, playerid);
	return 1;
}
everything works, but I need to hook this function.

Can someone help me?
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: 2 Guest(s)