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 knows as enemies.