Ok I will make two checks. First for func_bomb_target (for DE maps) after that for func_hostage_rescue (CS maps), func_vip_safetyzone(for AS maps) as PMB says. If that fail I will make the checking with the file name of the map. And if that fail then deathmatch. I think that this checks will be enogh for detecting the correct map type.
Thanks a lot guys.
