Function DisableRestartMission

  • Toggles the "Restart Mission" button (found in: Menu (F10) -> End Game).

    Parameters

    • flag: boolean

      true to disable the button, false to allow game restarts by the player.

    Returns void

    Note

    This button is only enabled in singleplayer (default), you cannot enable it in multiplayer.

Generated using TypeDoc