1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include "common.h" #include "patcher.h" #include "PlayerPed.h" CPlayerPed::~CPlayerPed() { delete m_pWanted; } WRAPPER void CPlayerPed::ReApplyMoveAnims(void) { EAXJMP(0x4F07C0); } STARTPATCHES InjectHook(0x4EFB30, &CPlayerPed::dtor, PATCH_JUMP); ENDPATCHES