Difference between revisions of "Lua:activateProtection"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' activateProtection() Prevents basic memory scanners from opening the cheat engine process. === Function Parameters === <none> == See also == * Lua * …')
 
m (Added related function template.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''function''' activateProtection()
+
[[Category:Lua]]
 +
{{CodeBox|'''function''' activateProtection() ''':''' void}}
  
Prevents basic memory scanners from opening the cheat engine process.
+
Enables basic protection for the Cheat Engine process.
  
=== Function Parameters ===
+
This prevents basic memory scanners from opening the Cheat Engine process. This protection is limited and is generally not very useful against more advanced tools.
&lt;none&gt;
 
  
 +
===Function Parameters===
 +
This function has no parameters.
  
== See also ==
+
===Returns===
* [[Lua]]
+
This function does not return a value.
* [[Help_File:Script engine|Script engine]]
 
  
=== Related Functions ===
+
===Examples===
* [[fullAccess]]
+
<syntaxhighlight lang="lua" line>
 +
activateProtection()
 +
</syntaxhighlight>
 +
 
 +
<syntaxhighlight lang="lua" line>
 +
activateProtection()
 +
 
 +
print("Basic Cheat Engine process protection has been enabled")
 +
</syntaxhighlight>
 +
 
 +
{{LuaSeeAlso}}
 +
 
 +
{{Protection}}

Latest revision as of 20:50, 26 June 2026

<> Lua API Reference

function activateProtection() : void

Enables basic protection for the Cheat Engine process.

This prevents basic memory scanners from opening the Cheat Engine process. This protection is limited and is generally not very useful against more advanced tools.

Function Parameters[edit]

This function has no parameters.

Returns[edit]

This function does not return a value.

Examples[edit]

1 activateProtection()
1 activateProtection()
2 
3 print("Basic Cheat Engine process protection has been enabled")

Main Pages

Core Lua documentation entry points

Lua
Script Engine

Process Protection

Function Encoding