[Question] Making player invisible to everyone except themself

Could anyone point me in the direction on how to set a player invisible to all other players except themself
i am wanting to do this in our apartments script and was wondering if their is a native which i could make use of todo this.

to explain again

setting player 1 invisible to all other players but i still want player 1 to see their own ped
and then when they exit i can set them back visible to every other player.

not looking to be spoon fed just looking to be pointed in the right direction on how todo this thanks.

Use Conceal natives. Conceal this individual on other clients. If you want to hide other players on the screen of the individual as well, conceal everyone on that client aswell