Difference between revisions of "Lua:writeFloat"

From Cheat Engine
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''function''' writeFloat(''Address'', ''Value'')
+
[[Category:Lua]]
 +
'''function''' writeFloat(''Address'', ''Value'') : Boolean - Returns true on success.
  
Writes 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.
  
 
===Function Parameters===
 
===Function Parameters===
Line 19: Line 20:
  
  
== See also ==
+
{{LuaSeeAlso}}
* [[readFloat]]
+
 
* [[writeBytes]]
+
=== Related Functions ===
* [[writeInteger]]
+
{{ReadWriteMemory}}
* [[writeDouble]]
 
* [[writeString]]
 
* [[Lua]]
 

Latest revision as of 00:04, 25 January 2018

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[edit]

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[edit]

Related Functions[edit]