So as seen on
this video, one random bot will get my weapon model for no apparent reason. I tried everything to fix this, but I failed. What I know is that if you go in third person, the gun disappears from the bot.
The problem is gone by commenting this line:
engfunc(EngFunc_SetModel, weapon, P_MODEL[cs_get_weapon_silen(get_pdata_cbase(id, m_pActiveItem))]);
But that disables showing the p_model completely.