find_ent_by_target

Syntax

native find_ent_by_target(iIndex, const szClass[]);

Usage

iIndex
Entity index to start from
szClass
Target to match

Description

Searches entities in the world, starting at a specified index and matching by
target.

Return

Entity index if an entity was found, 0 otherwise