if(equali(classname,"weaponbox") && get_pdata_bool(ent, 105, 4)) //Check if the entity is weapon box and if it is a bomb or not. (m_bIsBomb = 105)
public W_Model_Hook(ent,model[]) { if(get_pcvar_num(toggle_pcvar) && pev_valid(ent)) { static classname[32] pev(ent,pev_classname,classname,31) if(equali(classname,"bIsBomb") && get_pdata_bool(ent, 105, 4)) {