fm_find_ent_by_model
- Синтаксис
-
stock fm_find_ent_by_model(index, const classname[], const model[]) { new ent = index, mdl[72]; while ((ent = fm_find_ent_by_class(ent, classname))) { pev(ent, pev_model, mdl, sizeof mdl - 1); if (equal(mdl, model)) return ent; } return 0; }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- stock fm_find_ent_by_tname(index, const targetname[]) return engfunc(EngFunc_FindEntityByString, index, "targetname", targetname)