Hi, I have a restriction on the E key to not be able to take weapons from the buttons, the phase is that I can't open any door, because I have the E key locked so as not to take weapons from the buttons. My question is, how can I block it so that it can no longer take weapons from the buttons, but go open doors? (CS: GO)
actual code in OnPlayerRunCmd
Code:
if(Test)
{
if (buttons & IN_USE)
{
buttons &= ~IN_USE;
}
}
/