notarget is a cheat console command that makes you invisible to NPCs and (usually) NextBots. They may still be able to determine your location when you do things to make noise, such as shooting or walking.