From 91da6f1631e45830bc36653edcd3e6d118bd2e74 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 15 Jul 2005 20:29:59 +0000 Subject: [PATCH] Added is_in_viewcone, is_visible --- plugins/include/engine.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/include/engine.inc b/plugins/include/engine.inc index 666cd27a..1534515e 100755 --- a/plugins/include/engine.inc +++ b/plugins/include/engine.inc @@ -267,4 +267,10 @@ forward pfn_spawn(entid); */ native find_sphere_class(aroundent, _lookforclassname[], Float:radius, entlist[], maxents, Float:origin[3] = {0.0, 0.0, 0.0}); +//SDK function - checks if an origin is in an entity's view cone +native is_in_viewcone(entity, Float:origin[3]); + +//SDK function - checks if an origin is visible to an entity +native is_visible(entity, Float:origin[3]); + #include \ No newline at end of file