Quote:
Originally Posted by ot_207
It is because you forgot the trace handle (where the data is saved)
PHP Code:
engfunc(EngFunc_TraceLine, V1, V2, fNoMonsters, ENT_TO_SKIP, 0);
get_tr2(0, TR_vecEndPos, vReturn)
Look in the tutorials section for my function examples and nomexous tutorial about TRACELINE.
|
Thnx one question
I need to create a handle and use it on both like this:
Code:
engfunc(EngFunc_TraceLine, V1, V2, fNoMonsters, ENT_TO_SKIP, my_handle);
get_tr2(my_handle, TR_vecEndPos, vReturn)
__________________