Code:
if(str_cmpi(str_for_entfile (NULL, ENTITY* ent), "xyz.mdl"){
// if ENTITY* ent is xyz.mdl , do something
}



Do you want this?