Что такое CEntity и CColPoint?
void Inj()
{
vec3_t start = { 0.0, 0.0, 0.0 };
vec3_t end = { 0.0, 0.0, 1.0 };
char* sd[50];
//CWorld::ProcessLineOfSight
int (*func)(vec3_t const *, vec3_t const *, vec3_t const * , char ** , qboolean , qboolean , qboolean , qboolean , qboolean , qboolean , qboolean , qboolean ) = 0x004D92D0;
int test = func( start, end, start, sd, true, true, true, true, true, true, true, true );
//test = 1179648
//SDK_InjectFunction( 0x4D92D0, Test );
}