Difference between revisions of "Lua:targetIs64Bit"
Jump to navigation
Jump to search
m (Added CodeBox Template.) |
|||
| Line 1: | Line 1: | ||
[[Category:Lua]] | [[Category:Lua]] | ||
| − | '''function''' targetIs64Bit() ''':''' boolean | + | {{CodeBox|'''function''' targetIs64Bit() ''':''' boolean}} |
| − | Returns true if | + | Returns `true` if the process Cheat Engine is attached to is 64-bit; otherwise returns `false`. |
{{LuaFunctionParametersNone}} | {{LuaFunctionParametersNone}} | ||
| − | + | === Example === | |
<pre> | <pre> | ||
| − | print( targetIs64Bit() and "x64" or "x86" ) | + | print(targetIs64Bit() and "x64" or "x86") |
</pre> | </pre> | ||
| − | + | {{LuaSeeAlso}} | |
| − | + | ||
| − | + | {{Process}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 00:55, 5 December 2025
| <> Function function targetIs64Bit() : boolean |
Returns `true` if the process Cheat Engine is attached to is 64-bit; otherwise returns `false`.
Function Parameters
<none>
Example
print(targetIs64Bit() and "x64" or "x86")
See also
| Lua |
| Script Engine |