Force a spectating player into First Person mode
I would like to know the cleanest way of forcing a player to spectate another player in the First Person mode.
|
Re: Force a spectating player into First Person mode
Poor way : client_cmd(id, "+attack;wait;-attack")
All other way i tried were buggy with the view, but i haven't made lot of tests, may be that more than setting iuser, you would have to set player origin/angles. |
Re: Force a spectating player into First Person mode
Detecting mode change sould be possible with this message, detecting player change should be possible with this or this event/message.
/edit: Ok, if setting iuser1/2 does not work I don't have an idea, sorry. |
Re: Force a spectating player into First Person mode
Quote:
PHP Code:
PHP Code:
Thanks for helping me. Quote:
|
Re: Force a spectating player into First Person mode
Yes. I deleted that part because I noticed that just a second after posting. Sadly my connection to the servers is quite slow atm so it took its time :)
|
Re: Force a spectating player into First Person mode
Quote:
|
Re: Force a spectating player into First Person mode
An question off of topic.
How to block spec msgs 'Free Look', 'First Person' and such. |
Re: Force a spectating player into First Person mode
I'm not sure that engclient_cmd can be used with spec_mode cmd, and with client_cmd, due to lag, player could still abuse.
|
Re: Force a spectating player into First Person mode
There is a DOD server that I play on that you can only spec in first person mode. Very Very annoying. So, it's possible.
|
Re: Force a spectating player into First Person mode
Quote:
|
All times are GMT -4. The time now is 21:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.