Difference between revisions of "Lua:targetIsX86"
Jump to navigation
Jump to search
(Initial page creation.) |
m (Added related function template.) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 11: | Line 11: | ||
===Examples=== | ===Examples=== | ||
| − | < | + | <syntaxhighlight lang="lua" line> |
if targetIsX86() then | if targetIsX86() then | ||
print("Target process is x86 based") | print("Target process is x86 based") | ||
| Line 17: | Line 17: | ||
print("Target process is not x86 based") | print("Target process is not x86 based") | ||
end | end | ||
| − | </ | + | </syntaxhighlight> |
{{LuaSeeAlso}} | {{LuaSeeAlso}} | ||
| + | |||
| + | {{TargetIdentity}} | ||
Latest revision as of 23:37, 26 June 2026
Returns true if the target process is x86 based.
Function Parameters[edit]
This function has no parameters.
Returns[edit]
boolean — True if the target process is x86 based, otherwise false.
Examples[edit]
1 if targetIsX86() then
2 print("Target process is x86 based")
3 else
4 print("Target process is not x86 based")
5 end