Quote:
Originally Posted by hellmonja
PHP Code:
static weapon; weapon = fm_find_ent_by_owner(-1, weapon_bizon, entity)
To:
PHP Code:
static weapon; new ent, strtype, classname; weapon = engfunc(EngFunc_FindEntityByString, ent, strtype, classname)
From:
|
I'd suggest engine but anyways.
Code:
engfunc(EngFunc_FindEntityByString, entity, "classname", weapon_bizon)
__________________