Runs when a bind has been pressed. Allows to block commands.
By using the "alias" console command, this hook can be effectively circumvented
This is not called when the key is released (the third argument will always be true).
Issue Tracker: #1176
This does not run for function keys binds (F1-F12).
Issue Tracker: #2888
Prevents players from using flashlight.
function GM:PlayerBindPress( ply, bind, pressed ) --To block more commands, you could add another line similar to --the one below, just replace the command if ( string.find( bind, "impulse 100" ) ) then return true end end