Difference between revisions of "Lua:targetIs64Bit"
Jump to navigation
Jump to search
(Created page with ''''function''' targetIs64Bit() Returns true if the the process Cheat Engine is attached to is 64-bit. ===Function Parameters=== None == See also == * Lua') |
m (Syntax Highlighting.) |
||
| (9 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | '''function''' targetIs64Bit() | + | [[Category:Lua]] |
| + | {{CodeBox|'''function''' targetIs64Bit() ''':''' boolean}} | ||
| − | Returns true if | + | Returns '''true''' if the process Cheat Engine is attached to is 64-bit; otherwise returns '''false'''. |
| − | + | {{LuaFunctionParametersNone}} | |
| − | |||
| − | == | + | === Example === |
| − | + | <syntaxhighlight lang="lua" line> | |
| + | print(targetIs64Bit() and "x64" or "x86") | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | {{LuaSeeAlso}} | ||
| + | |||
| + | {{Process}} | ||
Latest revision as of 19:16, 25 June 2026
Returns true if the process Cheat Engine is attached to is 64-bit; otherwise returns false.
Function Parameters[edit]
<none>
Example[edit]
1 print(targetIs64Bit() and "x64" or "x86")