native is_visible(entity, target);
Target entity index
Returns if an entity is visible to another entity. Derived from SDK.
If the target entity has the FL_NOTARGET flag set, this native always returns 0.
This native fires a traceline between the view-offset origins of the entities. If the traceline is unobstructed it returns true. This is not a full 3D visibility check.
1 if entity is visible, 0 otherwise
If an invalid entity index is provided or, if the index is a client index, the client is not connected, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.