rg_find_ent_by_owner

Syntax

native bool:rg_find_ent_by_owner(&start_index, const classname[], owner);

Usage

Parameter Description
start_index
Entity index to start searching from. AMX_NULLENT (-1) to start from the first entity
classname
Classname to search for

Description

Finds an entity in the world using Counter-Strike's custom FindEntityByString wrapper, matching by owner.

Return

true if found, false otherwise