savingEnabled: Difference between revisions
Jump to navigation
Jump to search
(added example, see also) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| '''savingEnabled''' |= Syntax | | '''savingEnabled''' |= Syntax | ||
|p1= |= | |p1= |PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>[[if]] ([[savingEnabled]]) [[then]] { | |x1= <code>[[if]] ([[savingEnabled]]) [[then]] { | ||
[[hint]] "Saving is enabled!"; | [[hint]] "Saving is enabled!"; | ||
};</code>|= | };</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[enableSaving]], [[loadGame]], [[saveGame]] |= | | [[enableSaving]], [[loadGame]], [[saveGame]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:36, 7 April 2019
Description
- Description:
- Check if saving the game is enabled.
- Groups:
- Uncategorised
Syntax
- Syntax:
- savingEnabled
- Return Value:
- Boolean
Examples
- Example 1:
if (savingEnabled) then { hint "Saving is enabled!"; };
Additional Information
- See also:
- enableSavingloadGamesaveGame
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note