shavitush / bhoptimer

A bunnyhop timer plugin for Counter-Strike: Source, Counter-Strike: Global Offensive and Team Fortress 2.
https://timer.shav.it
GNU General Public License v3.0
228 stars 93 forks source link

[ "Feature" ] Touching wall check #1189

Open Nairdaa opened 1 year ago

Nairdaa commented 1 year ago

Please add that to the API.

"istouchingwall", just like on scroll "isonground".

eg:

public Action OnTouch(int client, int entity)
{
    if ((GetEntProp(entity, Prop_Data, "m_usSolidFlags") & 12) == 0)
    {
        g_bTouchesWall[client] = true;
    }
}
rtldg commented 1 year ago

What would this be used for?

Nairdaa commented 1 year ago

to check if a player is touching the wall