Difference between revisions of "Lua:writeSmallInteger"

From Cheat Engine
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Category:Lua]]
 
[[Category:Lua]]
'''function''' writeInteger(''Address'', ''Value''): Boolean - Returns true on success.
+
'''function''' writeSmallInteger(''Address'', ''Value''): Boolean - Returns true on success.
  
 
Writes a WORD (2 bytes) at the given address, representing the value you have given as a signed integer.
 
Writes a WORD (2 bytes) at the given address, representing the value you have given as a signed integer.

Revision as of 03:57, 4 July 2017

function writeSmallInteger(Address, Value): Boolean - Returns true on success.

Writes a WORD (2 bytes) at the given address, representing the value you have given as a signed integer.

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address of the target process to write to
Value Integer The value to write to the process


See also

Related Functions