Open Nairdaa opened 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; } }
What would this be used for?
to check if a player is touching the wall
Please add that to the API.
"istouchingwall", just like on scroll "isonground".
eg: