Difference between revisions of "Lua:readStringLocal"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' readStringLocal(''Address'', ''Maxlength'', ''isWideString'') Reads the bytes at the given address, in Cheat Engine's memory, and interprets them as a string. ==…')
 
Line 2: Line 2:
  
 
Reads the bytes at the given address, in Cheat Engine's memory, and interprets them as a string.
 
Reads the bytes at the given address, in Cheat Engine's memory, and interprets them as a string.
 +
 +
Note: The bytes read are from the Cheat Engine process instead of the targeted process.
  
 
===Function Parameters===
 
===Function Parameters===

Revision as of 05:16, 9 March 2017

function readStringLocal(Address, Maxlength, isWideString)

Reads the bytes at the given address, in Cheat Engine's memory, and interprets them as a string.

Note: The bytes read are from the Cheat Engine process instead of the targeted process.

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address to read
Maxlength Integer The maximum number of characters to read. If the string does not have a 0-terminator this will be the length of the string returned
isWideString Boolean Determines if this string is read out as a widestring or a normal ascii string


See also

Related Functions