View Single Post
keygens
Senior Member
Join Date: Mar 2010
Location: Somewhere
Old 12-19-2017 , 11:29   Re: [SOLVED]Detour ShouldHitEntity
Reply With Quote #5

Quote:
Originally Posted by Komodo3000 View Post
Hello, I'm trying to get this code to run, but I have the same problem keygens had/described in the first post. I get that the the vars g_iPassEntOffs and g_iCollisionOffs refer to m_pPassEnt & m_collisionGroup as described by GoD-Tony but don't know how to declare the vars in a different file so that they contain the correct data. Could someone please explain how I accomplish that?

Thanks in advance!

Something like this:

PHP Code:
const int  g_iPassEntOffs 4;
const 
int g_iCollisionOffs 8

Last edited by keygens; 12-19-2017 at 11:30.
keygens is offline