find_ent_by_model
Syntax
native find_ent_by_model(iIndex, const szClass[], const szModel[]);
Usage
| Parameter | Description |
|---|---|
| iIndex | Entity index to start from |
| szClass | Classname to match |
| szModel | Model to match |
Description
Searches entities in the world, starting at a specified index and matching by classname and model.
Return
Entity index if an entity was found, 0 otherwise