CMapLoadHelper::Init, cannot load map!

Recently after installing CSS and HL1 as well as mounting them, if I try to play any custom map it gives a error like the one in my title. Along with that, if I play flatgrass or construct, it crashes the game completely saying “Map has no textures!”