Raised This Month: $12 Target: $400
 3% 

Make invisible other players while spec


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JocAnis
Veteran Member
Join Date: Jun 2010
Old 11-11-2021 , 16:18   Make invisible other players while spec
Reply With Quote #1

hi guys. can anyone send me a code of:

if we have 5 players on server, and you spec player_1, all other 3 players will be invisible to you (or atleast 50% visible, set_user_rendering?)
I guess its done via addtofullpack, but im not sure

*with having less free time im not able to study this part of code, hopefully someone can help
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 11-12-2021 , 00:31   Re: Make invisible other players while spec
Reply With Quote #2

Well, you need to alter the observer forward function using Orpheu or some other method to prevent the spectator from spectating invisible players, and by using addto fullpack you can set players invisibility for the spectator.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 11-12-2021 at 00:34.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
JocAnis
Veteran Member
Join Date: Jun 2010
Old 11-12-2021 , 05:31   Re: Make invisible other players while spec
Reply With Quote #3

I didnt mean to prevent spectate other players (if u are saying that). But point is to not see other players when you spec one player (no matter which one). Because with current situation, you see all players (with included semiclip) and all players start from same position, its kz server, so it is impossible to see anything at all because of their non-transparent models..
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 11-12-2021 , 05:52   Re: Make invisible other players while spec
Reply With Quote #4

Alright then hooking Addtofullpack should do the trick and block it for the host (spectator) that can see the undesirables other players
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 11-12-2021 at 05:53.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Reply


Thread Tools
Display Modes

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 16:07.


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