Quote:
Originally Posted by sazonische
line 41
g_hWeapon_ShootPosition = DHookCreate(offset, HookType_Entity, ReturnType_Int, ThisPointer_CBaseEntity);
replace
g_hWeapon_ShootPosition = DHookCreate(offset, HookType_Entity, ReturnType_Vector, ThisPointer_CBaseEntity);
|
You're right, thanks, though it does still crash with Vector, I've changed it to Int by hoping to get an address earlier but yeah, seems like it didn't turn out to work anyway.
I get the return perfectly, it just when I try to set it that it crashes, I just need to debug out the extension when I've time (probably needs recompiling n stuff)
But I'm not refusing any help to make this working