11.04.2018, 15:57
I use
And the function is not hooked. instead if i use
everything works, but I need to hook this function.
Can someone help me?
Код:
#include <YSI\y_hooks> hook OnVehDamageStatusUpd(vehicleid, playerid) { printf("[debug] hook OnVehDamageStatusUpd(%d, %d)", vehicleid, playerid); return 1; }
Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid) { printf("[debug] OnVehicleDamageStatusUpdate(%d, %d)", vehicleid, playerid); return 1; }
Can someone help me?