Difference between revisions of "Lua:activateProtection"
Jump to navigation
Jump to search
m (moved activateProtection to Lua:activateProtection) |
m |
||
| 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=== | ||
| + | <pre> | ||
| + | activateProtection() | ||
| + | </pre> | ||
| + | |||
| + | <pre> | ||
| + | activateProtection() | ||
| + | |||
| + | print("Basic Cheat Engine process protection has been enabled") | ||
| + | </pre> | ||
| + | |||
| + | ===Notes=== | ||
| + | * This function affects the Cheat Engine process itself. | ||
| + | * It is only intended to block basic memory scanners. | ||
| + | * It should not be treated as strong protection. | ||
| + | * In most cases, this function is not necessary. | ||
| + | |||
| + | {{LuaSeeAlso}} | ||
Revision as of 21:08, 24 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.
Contents
Function Parameters
This function has no parameters.
Returns
This function does not return a value.
Examples
activateProtection()
activateProtection()
print("Basic Cheat Engine process protection has been enabled")
Notes
- This function affects the Cheat Engine process itself.
- It is only intended to block basic memory scanners.
- It should not be treated as strong protection.
- In most cases, this function is not necessary.