[Solved][Help] How to lock player's view (angles)
Like the title, how to lock the player's angles... So then if they move their mouse, nothing happen in the screen, and they only aim at certain point
|
Re: [Help] How to lock player's view (angles)
It can't be done perfectly since moving your mouse is client side, but it's still achievable.
You would need to register PreThink() , and set pev_angles and pev_fixangle. And another case where you would unregister the forward where possible. |
Re: [Help] How to lock player's view (angles)
Look at there for example : http://forums.alliedmods.net/showthread.php?p=958497
|
Re: [Help] How to lock player's view (angles)
So it's good to do it by setting pev_angles in PreThink although it can't be done perfectly
|
| All times are GMT -4. The time now is 10:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.