// NetworkConcealPlayer
void NETWORK_CONCEAL_PLAYER(Player player, BOOL toggle, BOOL bAllowDamagingWhileConcealed);
This is what R* uses to hide players in MP interiors.
To manage player visibility with NetworkConcealPlayer, here’s a solid approach:
General Population (players not in any instance):
- Use NetworkConcealPlayer to hide players who are in any instance. This way, general population players won’t see or interact with instance players.
Instance Players (players in a specific instance):
- Use NetworkConcealPlayer to hide players who aren’t in the same instance. Instance players can still see and interact with the general population but not with players in other instances.
This setup keeps instance players separate from each other while allowing interaction with the general population.