View Single Post
Author Message
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 11-12-2015 , 16:55   Player View Angles
Reply With Quote #1

Can they be changed easily?

I found a function within CBasePlayer that I think can do it (SnapEyeAngles) but the project I'm working in has a problem trying to include the files that contain CBasePlayer, throwing a slew of errors like m_hOwnerEntity is undefined, m_hMoveParent undefined, m_hUseEntity, n_hVehicle, m_hObserverTarget, m_hZoomerOwner, m_hOwner, m_hLightingOrigin/Relative, m_hCtrl, m_hActiveWeapon, all undefined for some reason

I have all the environment variables set up correctly, and I included several required files, but including cbase.h throws many errors, and including just player.h does too

So my main question is 2 fold: Is there a way to change player view angles without including this, or is there a way to fix these problems and just use the premade stuff
__________________
Plugins|Profile
Requests closed

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