Raised This Month: $ Target: $400
 0% 

Disable spectating for certain players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
E1_531G
Senior Member
Join Date: Dec 2017
Old 05-06-2018 , 16:30   Re: Disable spectating for certain players
Reply With Quote #1

Yes, you can try to hook SpecHealth2 message (to get target id) and set permanent black ScreenFade until next round or spawn event begins.
__________________
My English is A0

Last edited by E1_531G; 05-06-2018 at 16:30.
E1_531G is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 05-06-2018 , 17:16   Re: Disable spectating for certain players
Reply With Quote #2

Quote:
Originally Posted by E1_531G View Post
Yes, you can try to hook SpecHealth2 message (to get target id) and set permanent black ScreenFade until next round or spawn event begins.
This makes no sense.
All players will disconnect from your server.
Message for OP: Please don't overkill VIP features. Noone would sit watching a black screen for 3 minutes, over and over. Close this thread, barely trashing. Don't suggest bad ideas either examples/solutions.
__________________
Relaxing is offline
Ludak
Member
Join Date: Oct 2014
Old 05-08-2018 , 06:37   Re: Disable spectating for certain players
Reply With Quote #3

Quote:
Originally Posted by Relaxing View Post
This makes no sense.
All players will disconnect from your server.
Message for OP: Please don't overkill VIP features. Noone would sit watching a black screen for 3 minutes, over and over. Close this thread, barely trashing. Don't suggest bad ideas either examples/solutions.
I have a custom game mode where VIP needs to be protected, and no one should leak the information about his position.

Quote:
Originally Posted by Bugsy View Post
You don't need to set to a black screen, just set to another player who is not a VIP. If only VIP's are playing, then set to black screen, or something.
I do not know how to do it, I have searched but failed to found the answer.
Can you give me the code?
Thank you
Ludak 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 04:40.


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