Entities in field of view.

Hello!

How can i check if an entity is in my field of view? (80)

Since there is no bearing function, i have no idea how i should do it.

Thanks!

I usually use Entity:GetPos():ToScreen().Visible.

Use:

[lua]
Player:Visible(Entity);
[/lua]

Visible uses visleaves, and does not work with 2 players.