Difference between revisions of "Lua:writeFloat"

From Cheat Engine
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Category:Lua]]
 
[[Category:Lua]]
'''function''' writeFloat(''Address'', ''Value'')
+
'''function''' writeFloat(''Address'', ''Value'') : Boolean - Returns true on success.
  
 
Writes a DWORD (4 bytes) at the given address representing the value you have given as a single precision floating point.
 
Writes a DWORD (4 bytes) at the given address representing the value you have given as a single precision floating point.

Revision as of 08:58, 4 July 2017

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

Writes a DWORD (4 bytes) at the given address representing the value you have given as a single precision floating point.

Function Parameters

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


See also

Related Functions