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