AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Aim down (https://forums.alliedmods.net/showthread.php?t=308628)

safetymoose 06-27-2018 19:52

Aim down
 
What would be a good way to force a player's aim down to the ground? Could anyone give me an example with v_angles or punchangle? I cant seem to get it right..

safetymoose 06-28-2018 04:45

Re: Aim down
 
After checking this thread and doing some testing, i found that the following does the trick.

PHP Code:

set_pev(playerpev_punchangleFloat:{90.00.00.0})                
set_pev(playerpev_fixangle1

Not sure why, but fixangle was the missing piece of the puzzle.


All times are GMT -4. The time now is 12:51.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.