---
name: "enableSaving"
type: command
status: ok
groups: ["Mission Information"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/enableSaving
revid: 340305
updated: 2023-04-28T23:04:59Z
---

# enableSaving

*Command · Mission Information · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Enable / disable saving of the game with an optional autosave.

## Syntax

### Syntax 1

```sqf
enableSaving enable
```

**Parameters:**

- `enable`: [Boolean](../topics/Boolean.md)

**Returns:** [Nothing](../topics/Nothing.md)

### Syntax 2

```sqf
enableSaving [enable, save]
```

**Parameters:**

- `enable`: [Boolean](../topics/Boolean.md) - allow [saveGame](../commands/saveGame.md) command usage and manual saving
- `save`: [Boolean](../topics/Boolean.md) - create an autosave on command execution

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
enableSaving false;        // saving disabled, does autosave - same as [false, true]
enableSaving true;        // saving enabled, does not autosave - same as [true, false]

enableSaving [false, false];    // saving disabled, does not autosave
enableSaving [false, true];        // saving disabled, does autosave
enableSaving [true, false];        // saving enabled, doesn't autosave
enableSaving [true, true];        // saving enabled, does autosave
```

## See also

[loadGame](../commands/loadGame.md) · [saveGame](../commands/saveGame.md) · [savingEnabled](../commands/savingEnabled.md) · [isSaving](../commands/isSaving.md) · [BIS_fnc_enableSaving](../functions/BIS_fnc_enableSaving.md)

## Community notes

**POLPOX** — 2023-01-02

Also possible to disable Save and Exit button from pause menu and replaces it with Abort. (confirmed in Arma 3 2.12)

<sub>Source: [BI Community Wiki — enableSaving](https://community.bistudio.com/wiki/enableSaving) (revision 340305).</sub>
