Difference between revisions of "Lua:setPointerSize"

From Cheat Engine
Jump to navigation Jump to search
(Created page with "Category:Lua '''function''' setPointerSize(''size'') Sets the size Cheat Engine will deal with pointers in bytes. (Some 64-bit processes can only use 32-bit addresses) =...")
 
m (Added CodeBox Template.)
 
Line 1: Line 1:
 
[[Category:Lua]]
 
[[Category:Lua]]
'''function''' setPointerSize(''size'')
+
{{CodeBox|'''function''' setPointerSize(''size'')}}
  
 
Sets the size Cheat Engine will deal with pointers in bytes. (Some 64-bit processes can only use 32-bit addresses)
 
Sets the size Cheat Engine will deal with pointers in bytes. (Some 64-bit processes can only use 32-bit addresses)
Line 17: Line 17:
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
  
=== Related Functions ===
+
{{Process}}
* [[Lua:openProcess|openProcess]]
 
* [[Lua:getProcesslist|getProcesslist]]
 
* [[Lua:getOpenedProcessID|getOpenedProcessID]]
 
* [[Lua:getProcessIDFromProcessName|getProcessIDFromProcessName]]
 
* [[Lua:createProcess|createProcess]]
 

Latest revision as of 00:50, 5 December 2025

<> Function

function setPointerSize(size)

Sets the size Cheat Engine will deal with pointers in bytes. (Some 64-bit processes can only use 32-bit addresses)

Function Parameters[edit]

Parameter Type Description
size Integer The size in bytes Cheat Engine will use to deal with pointers

See also[edit]

Lua
Script Engine

Related Functions[edit]

createProcess
openProcess
onOpenProcess
getForegroundProcess
getOpenedProcessID
getProcessIDFromProcessName
openFileAsProcess
saveOpenedFile
setPointerSize
setAssemblerMode
getProcesslist
getWindowlist
pause
unpause
targetIs64Bit
enumModules
closeRemoteHandle