find_ent_by_owner

Синтаксис

native find_ent_by_owner(iIndex, const szClass[], iOwner, iJghgType = 0);

Употреба

iIndex
Entity index to start from
szClass
String to match
iOwner
Owner entity index to match
iJghgType
Entity field to match string against:
    0 - Classname
    1 - Target
    2 - Targetname

Описание

Searches entities in the world, starting at a specified index, matching by
owner and a configurable entity field.

Връщаща стойност

Entity index if an entity was found, 0 otherwise