Please consider to use Ray-Trace
A trace ray library developed for use in Counter Strike 2, in conjunction with the CounterStrikeSharp API. This enables the use of trace ray with TraceMask, Contents and skip enums.
If you want to donate or need a help about plugin, you can contact me in discord private/server
Discord nickname: schwarper
Discord link : Discord server