cheatsEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>_$1 = $2;</sqf>")
Line 28: Line 28:
|s1= [[cheatsEnabled]]
|s1= [[cheatsEnabled]]


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


|r1= [[Boolean]]
|r1= [[Boolean]]

Revision as of 22:21, 7 May 2022

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