I would like to know how to disable the weapon selection with numbers.
I already have this but this only disable the change with mouse:
[lua]function GM:PlayerBindPress(ply, bind, pressed)
if bind == “invnext” and pressed then
elseif bind == “invprev” and pressed then
If i press 1, it will change weapon. How can i disable it ?