You wanna catch the explosion or make it explode on command?
Code:
#include <amxmodx>
#include <fakemeta>
public plugin_init() {
register_forward(FM_EmitSound, "fw_EmitSound");
}
public fw_EmitSound(ent, channel, sample[]) {
if ( equal(sample[8], "sg_explode", 10) ) {
new model[32];
pev(ent, pev_model, model, 31);
if ( equal(model[9], "w_smokegrenade.mdl") )
// BOOM
}
}