Garry's Mod Wiki

NPC:GetKnownEnemies

  table NPC:GetKnownEnemies()

Description

Returns all known enemies this NPC has.

See also NPC:GetKnownEnemyCount

Returns

1 table
Table of entities that this NPC knowns as enemies.