Custom depth only team see

somebody help me, last thing for finishing my project

I have made outline post processing material, to make x-ray vison or someting like ability Widowmaker (Overwatch). but i want outline effect only my team can see?

Apply Post processing only to team members. You might try to use fact that Player Controller of each player is only replicated to clients of that player. So you could equip player controller with PostProcessComponent (since playercontroller is a actor) and enable post process material to selected player controllers on server side and make sure this is replicated to the client.

Also drawing to custom depth buffer might be potentially more hackble then just making shaders that draws on top of the screen, as they could just read that buffer. But im not 100% sure on it.