View Single Post
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 09-24-2016 , 10:04   Re: [SOLVED]Detour ShouldHitEntity
Reply With Quote #2

I would have replied here earlier if this wasn't marked as "solved". Anyway in response to your PM:
Quote:
Originally Posted by keygens
Hello. Trying to declare your code for collisionhook.But i want to know, what is g_iPassEntOffs? As i know g_iCollisionOffs is m_CollisionGroup, correct? But what is g_iPassEntOffs? Thanks for your possible answer.
It's referring to these member vars: https://mxr.alliedmods.net/hl2sdk-sd...l_shared.h#128

The offsets are probably still 4 and 8 bytes for every game.
__________________
GoD-Tony is offline