NPC's Ignore Player

How would one go about making NPC’s ignore a player?

There is a console command for that isn’t there? or do you mean seperate players?

I mean in lua.

**[Player.SetNoTarget

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Player.SetNoTarget)**
For some reason it isn’t listed in the complete player metatable