is_visible
Engine (engine.inc)
Description
is_visible - Checks if a target entity is visible to an entity
Syntax
is_visible ( entity, target )
Type
Native
Notes
This function was added in AMX Mod X 1.1 directly from the HLSDK.

Update: The function was modified per advice of T(+)rget.