Skip to main content

entity.is_enemy

Returns true if the entity is on the opposing team.

entity.is_enemy(ent: number): boolean

Arguments

NameDescriptionType
entEntity index.number

Returns boolean