_READ_INT_AS_FLOAT
Reads the passed value as floating point value and returns it. Example: _READ_INT_AS_FLOAT(0x3F800000) returns 1.0f because 0x3F800000 is the hexadecimal representation of 1.0f.
MISCBuild 1207
Signature
lua
ReadIntAsFloat(0)
-- returns floatParameters
| Name | Type | Description |
|---|---|---|
| int | — |
Usage
lua
ReadIntAsFloat(0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
