bf6-portal-mod-types
    Preparing search index...

    Function EnableInputRestriction

    • Enables or disables a specified Input on a target player. Note: This function currently does not seem to work. Either it can only toggle certain inputs, or it only works for the last input restricted/allowed.

      Parameters

      • player: Player

        The player to enable or disable the input for.

      • inputRestriction: RestrictedInputs

        The input to enable or disable.

      • restrictInput: boolean

        Whether to restrict or allow the input.

      Returns void

    • Enables or disables a specified Input on a target player.

      Parameters

      Returns void