RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _READ_INT_AS_FLOAT

_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 float

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details