Raised This Month: $ Target: $400
 0% 

Player freeze


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 09-21-2011 , 15:07   Player freeze
Reply With Quote #1

I can freeze movings, but I need to fix his aim angles too. How to do it?
__________________
Полный похуизм.
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 09-21-2011 , 15:27   Re: Player freeze
Reply With Quote #2

Fix ? You want to allow view rotation or not ?
__________________
Hunter-Digital is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 09-21-2011 , 15:40   Re: Player freeze
Reply With Quote #3

I wanna stop moving (disable mouse).
__________________
Полный похуизм.
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 09-21-2011 , 20:33   Re: Player freeze
Reply With Quote #4

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.
__________________
Hunter-Digital is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-22-2011 , 05:10   Re: Player freeze
Reply With Quote #5

What about using trigger_camera to a fix position ? It could do the trick.
__________________
Arkshine is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 09-22-2011 , 14:10   Re: Player freeze
Reply With Quote #6

Yeah, but it will also remove HUD and view weapon... no ? If he intends that, that's the way to go xD
__________________
Hunter-Digital is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 09-22-2011 , 14:45   Re: Player freeze
Reply With Quote #7

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.
__________________
hleV is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 09-22-2011 , 15:02   Re: Player freeze
Reply With Quote #8

Quote:
Originally Posted by hleV View Post
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.
.Dare Devil. is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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