new szMdl[32]; pev(iEnt, pev_model, szMdl, 31); if (equal(szMdl, "models/w_glock18.mdl")) // Your stuff