native

find_ent_by_target

Syntax

native find_ent_by_target(iIndex, const szClass[]);

Description

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

Parameters

iIndex Entity index to start from
szClass Target to match

Return

Entity index if an entity was found, 0 otherwise