View Single Post
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 11-13-2015 , 13:26   Re: Player View Angles
Reply With Quote #6

Quote:
Originally Posted by donrevan View Post
If you want visible view angle changes you can call CBaseAnimating?::Teleport(virtual function, no signature required).

Teleport(Vector const *newPos, QAngle const *newAngles, Vector const *newVelocity)
just pass NULL to newPos and newVelocity
I see

This is where the original problem comes in, baseentity.h has errors

Edit: Looking at the teleport code, I see it also just uses SnapEyeAnles

Edit 2: I looked at SnapEyeAngles, and it uses CPlayerState, which IServerGameClients can retrieve and use, so I used the method SnapEyeAngles uses and it works!

Spoiler
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it

Last edited by xXDeathreusXx; 11-13-2015 at 14:32.
xXDeathreusXx is offline