native
rg_find_ent_by_owner
Syntax
native bool:rg_find_ent_by_owner(&start_index, const classname[], owner);
Description
Finds an entity in the world using Counter-Strike's custom FindEntityByString wrapper, matching by owner.
Parameters
| start_index | Entity index to start searching from. AMX_NULLENT (-1) to start from the first entity |
|---|---|
| classname | Classname to search for |
Return
true if found, false otherwise