Closed greymood09 closed 6 years ago
get_pmove(pm_origin, origin, 0);
get_pmove(pm_origin, origin, 0);
@s1lentq is there any particular reason why we have to retrieve arrays like this?
I suppose third parameter doesn't default to 0, in AMXX
Tested and updated my answer below, this is incorrect.get_user_origin(index, array, mode)
has 5 modes, I'll assume this is the same for reapi, though it'd be nice to raise an error if it's missing.
@thedoorisstuck You confuse yourself.
@thedoorisstuck You confuse yourself.
Thank you, very insightful.
get_pmove(pm_origin, origin, 1);
Will return view angle in degrees.
Getting player origin in
RG_PM_Move
hookchain using the following,returns empty float vectors into the array, is this a bug or am I doing anything wrong?
Edit:
ReHLDS ver. 3.4.0.654-dev
ReGameDLL ver. 5.7.0.312
ReAPI ver. 5.6.0.157