according to this code
Code:
Vector v_forward;
Vector v_src = edict->v.origin + edict->v.view_ofs;
ANGLEVECTORS(edict->v.v_angle, v_forward, NULL, NULL);
TraceResult trEnd;
Vector v_dest = v_src + v_forward * static_cast<float>(params[4]);
TRACE_LINE(v_src, v_dest, 0, edict, &trEnd);
i think I have find a right way !
thx your reply
__________________