AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Make invisible other players while spec (https://forums.alliedmods.net/showthread.php?t=335160)

JocAnis 11-11-2021 16:18

Make invisible other players while spec
 
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

Natsheh 11-12-2021 00:31

Re: Make invisible other players while spec
 
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.

JocAnis 11-12-2021 05:31

Re: Make invisible other players while spec
 
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..

Natsheh 11-12-2021 05:52

Re: Make invisible other players while spec
 
Alright then hooking Addtofullpack should do the trick and block it for the host (spectator) that can see the undesirables other players


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

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