Difference between revisions of "Lua:writeFloat"
Jump to navigation
Jump to search
m (moved writeFloat to Lua:writeFloat) |
|||
(7 intermediate revisions by 3 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 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: | ||
− | == | + | {{LuaSeeAlso}} |
− | + | ||
− | + | === Related Functions === | |
− | + | {{ReadWriteMemory}} | |
− | |||
− | |||
− |
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]
- readBytes
- readSmallInteger
- readInteger
- readQword
- readPointer
- readFloat
- readDouble
- readString
- writeBytes
- writeSmallInteger
- writeInteger
- writeQword
- writeFloat
- writeDouble
- writeString
- readBytesLocal
- readIntegerLocal
- readQwordLocal
- readPointerLocal
- readFloatLocal
- readDoubleLocal
- readStringLocal
- writeBytesLocal
- writeIntegerLocal
- writeQwordLocal
- writeFloatLocal
- writeDoubleLocal
- writeStringLocal
- wordToByteTable
- dwordToByteTable
- qwordToByteTable
- floatToByteTable
- doubleToByteTable
- stringToByteTable
- wideStringToByteTable
- byteTableToWord
- byteTableToDword
- byteTableToQword
- byteTableToFloat
- byteTableToDouble
- byteTableToString
- byteTableToWideString