Thread
: [Solved]
Virtual hooks, bypass only current hook
View Single Post
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
03-11-2020 , 16:54 Re: Virtual hooks, bypass only current hook
#
5
Thanks, it works.
Code:
CBaseEntity* pEntity = META_RESULT_ORIG_RET(CBaseEntity*);
I have to keep a variable to pass some data from pre to post hook, but anyway it's much better than checking and processing double calls inside the original function.
Last edited by kadet.89; 03-11-2020 at
16:57
.
kadet.89
View Public Profile
Send a private message to kadet.89
Find More Posts by kadet.89