mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Added is_in_viewcone, is_visible
This commit is contained in:
parent
e8c87f8d89
commit
91da6f1631
@ -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>
|
Loading…
Reference in New Issue
Block a user