Added is_in_viewcone, is_visible

This commit is contained in:
David Anderson 2005-07-15 20:29:59 +00:00
parent e8c87f8d89
commit 91da6f1631

View File

@ -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 <engine_stocks>