Create an invisible area, check if player is inside and World Material

I want to create an area, where you can check if the player is in that area. Also I want to get the material of the world where the player is looking, thanks.

;D

this http://wiki.garrysmod.com/page/Structures/TraceResult
and http://wiki.garrysmod.com/page/ents/FindInBox