Hi,
I need to Trace an unsolid entity, but I cant make it work.
I've tryed:
PHP Code:
float vClientPos[3];
float vClientAng[3];
GetClientEyePosition(client, vClientPos);
GetClientEyeAngles(client, vClientAng);
TR_TraceRayFilter(vClientPos, vClientAng, MASK_ALL, RayType_Infinite, TraceRayDontHitPlayer, client);
int iEnt = TR_GetEntityIndex();
But it always return 0, I've used MASK_ALL & MASK_VISIBLE both.
EDIT:
Solved, idk, why i've restarted the maps and now it's work ok!
__________________