Non network ped in c#

When spawning a ped in LUA you have the option to spawn it in as a local entity, so other players won’t see it.
I just recently started develepong in c# and I can’t find an option in the Ped or Entity classes to make the ped a local ped.
Does anybody know a way to make my peds local?