Did I do it right?
From:
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:
PHP Code:
static ent; ent = fm_get_user_weapon_entity(id, CSW_BIZON)
To:
PHP Code:
const m_pActiveItem = 373;
...
static ent;
ent = get_pdata_cbase(id, m_pActiveItem);
give_item is pretty easy so I didn't include it...
__________________