Difference between revisions of "Lua:activateProtection"
Jump to navigation
Jump to search
m (Added related function template.) |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[Category:Lua]] | [[Category:Lua]] | ||
| − | '''function''' activateProtection() | + | {{CodeBox|'''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=== | ||
| + | This function has no parameters. | ||
| − | == | + | ===Returns=== |
| − | + | This function does not return a value. | |
| − | + | ||
| + | ===Examples=== | ||
| + | <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
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")