native
find_ent_in_sphere
Syntax
native find_ent_in_sphere(start_from_ent, const Float:origin[3], Float:radius);
Description
Searches for entities inside a sphere, starting at a specified index.
Parameters
| start_from_ent | Entity index to start from |
|---|---|
| origin | Center of sphere |
| radius | Sphere radius |
Return
Entity index if an entity was found, 0 otherwise