DeveloperConsole.DeveloperConsole.SetConsoleControls C# (CSharp) Method

SetConsoleControls() private method

Disables all controls not enabled while using the console
private SetConsoleControls ( ) : void
return void
        private void SetConsoleControls()
        {
            GTAFuncs.SetControlActions(false);
            GTAFuncs.EnableControlAction(Control.MoveLeftRight, true);
            GTAFuncs.EnableControlAction(Control.MoveUpDown, true);
            GTAFuncs.EnableControlAction(Control.VehicleAccelerate, true);
            GTAFuncs.EnableControlAction(Control.VehicleBrake, true);
            GTAFuncs.EnableControlAction(Control.VehicleDriveLook, true);
            GTAFuncs.EnableControlAction(Control.VehicleDriveLook2, true);
            GTAFuncs.EnableControlAction(Control.VehicleMoveLeftRight, true);
            GTAFuncs.EnableControlAction(Control.VehicleMoveUpDown, true);
            GTAFuncs.EnableControlAction(Control.LookLeftRight, true);
            GTAFuncs.EnableControlAction(Control.LookUpDown, true);
            GTAFuncs.EnableControlAction(Control.FlyUpDown, true);
            GTAFuncs.EnableControlAction(Control.FlyLeftRight, true);
            GTAFuncs.EnableControlAction(Control.VehicleFlyRollLeftRight, true);
            GTAFuncs.EnableControlAction(Control.VehicleFlyPitchUpDown, true);
            GTAFuncs.EnableControlAction(Control.VehicleFlyYawLeft, true);
            GTAFuncs.EnableControlAction(Control.VehicleFlyYawRight, true);
            GTAFuncs.EnableControlAction(Control.VehicleFlyThrottleDown, true);
            GTAFuncs.EnableControlAction(Control.VehicleFlyThrottleUp, true);
        }