cheatsEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>_$1 = $2;</sqf>")
mNo edit summary
 
Line 27: Line 27:


|s1= [[cheatsEnabled]]
|s1= [[cheatsEnabled]]
|r1= [[Boolean]]


|x1= <sqf>_enabled = cheatsEnabled;</sqf>
|x1= <sqf>_enabled = cheatsEnabled;</sqf>
|r1= [[Boolean]]


|seealso= [[ArmA: Armed Assault: Cheats]] [[Arma 3: Cheats]]
|seealso= [[ArmA: Armed Assault: Cheats]] [[Arma 3: Cheats]]
}}
}}

Latest revision as of 07:09, 27 November 2023

Hover & click on the images for description

Description

Description:
Checks whether cheats are enabled (whether the designers' version is running).
Groups:
System

Syntax

Syntax:
cheatsEnabled
Return Value:
Boolean

Examples

Example 1:
_enabled = cheatsEnabled;

Additional Information

See also:
ArmA: Armed Assault: Cheats Arma 3: Cheats

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