{"name":"savingEnabled","operator":null,"title":"savingEnabled","type":"command","url":"https://community.bistudio.com/wiki/savingEnabled","revid":342154,"updated":"2023-07-09T12:26:50Z","groups":["Mission Information"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Check if saving the game is enabled.\n\n> [!NOTE]\n> **Arma 3:** If saving is disabled by Eden Editor mission attribute, this command will still return true.","syntaxes":[{"syntax":"savingEnabled","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\nif (savingEnabled) then\n{\n    hint \"Saving is enabled!\";\n};\n```","code":["if (savingEnabled) then\n{\n\thint \"Saving is enabled!\";\n};"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["enableSaving","loadGame","saveGame","isSaving"],"notes":[],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Mission Information","Introduced with Arma 2 version 1.00","Scripting Commands","Take On Helicopters: Scripting Commands"]}