AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Player freeze (https://forums.alliedmods.net/showthread.php?t=167902)

Flipper_SPb 09-21-2011 15:07

Player freeze
 
I can freeze movings, but I need to fix his aim angles too. How to do it?

Hunter-Digital 09-21-2011 15:27

Re: Player freeze
 
Fix ? You want to allow view rotation or not ?

Flipper_SPb 09-21-2011 15:40

Re: Player freeze
 
I wanna stop moving (disable mouse).

Hunter-Digital 09-21-2011 20:33

Re: Player freeze
 
Well, AFAIK the FL_FROZEN flag stops mouse movement aswell... if not, you could constantly set angles... but I think there's a better way, with Orpheu possibly.

Arkshine 09-22-2011 05:10

Re: Player freeze
 
What about using trigger_camera to a fix position ? It could do the trick.

Hunter-Digital 09-22-2011 14:10

Re: Player freeze
 
Yeah, but it will also remove HUD and view weapon... no ? If he intends that, that's the way to go xD

hleV 09-22-2011 14:45

Re: Player freeze
 
I'm not sure if FL_FROZEN would prevent you from looking around, but I believe the direction the player is aiming at wouldn't change, so the player wouldn't look like moving at all for everyone else.

.Dare Devil. 09-22-2011 15:02

Re: Player freeze
 
Quote:

Originally Posted by hleV (Post 1560951)
I'm not sure if FL_FROZEN would prevent you from looking around, but I believe the direction the player is aiming at wouldn't change, so the player wouldn't look like moving at all for everyone else.

If you set ever 0.001 sec he/she´s camera/aiming coords then its working in client side too.


All times are GMT -4. The time now is 19:30.

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