void SetModel_Post(edict_t *e, const char *m){
if ( !isModuleActive() )
{
RETURN_META(MRES_IGNORED);
}
if ( e->v.owner && m[7]=='w' && m[8]=='_' ){
int w_id = 0;
CPlayer *pPlayer = GET_PLAYER_POINTER(e->v.owner);
switch(m[9]){
case 'h':
w_id = CSW_HEGRENADE;
g_grenades.put(e, 2.0, 4, pPlayer);
pPlayer->saveShot(CSW_HEGRENADE);
break;
case 'f':
if (m[10]=='l') w_id = CSW_FLASHBANG;
break;
case 's':
if (m[10]=='m') w_id = CSW_SMOKEGRENADE;
break;
}
if ( w_id )
MF_ExecuteForward( iFGrenade, static_cast<cell>(pPlayer->index),
static_cast<cell>(ENTINDEX(e)), static_cast<cell>(w_id));
}
RETURN_META(MRES_IGNORED);
}