12.04.2018, 12:29
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:
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;
}

