Quote:
Originally Posted by NiHiLaNTh
I had updated HAM, I tested.Everything I tested works ok, except Ham_BodyTarget.
|
Sorry, forgot to answer.
Just tested (under windows) and it works fine.
Code:
new Float:source[3];
new Float:center[3];
pev( victim, pev_origin, source );
ExecuteHam( Ham_BodyTarget, victim, source, center );
log_amx( "center = %f %f %f", center[0], center[1], center[2] );
It gives me without crash : center = -832.000000 -704.000000 195.605941
Did you test under windows or linux ? Hook or Call ?
__________________