Garry's Mod Wiki

NPC:GetKnownEnemyCount

  number NPC:GetKnownEnemyCount()

Description

Returns known enemy count of this NPC.

See also NPC:GetKnownEnemies

Returns

1 number
Amount of entities that this NPC knowns as enemies.