RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_RESOURCE_KVP_FLOAT

GET_RESOURCE_KVP_FLOAT

A getter for [SET_RESOURCE_KVP_FLOAT](#\_0x9ADD2938).

CFX

Signature

lua
GetResourceKvpFloat(key)
-- returns float

Parameters

NameTypeDescription
char*The key to fetch

Usage

Named call
GetResourceKvpFloat(key)
InvokeNative
Citizen.InvokeNative(0x35BDCEEA, key)
lua 1
local kvpValue = GetResourceKvpFloat('mollis')
if kvpValue ~= 0.0 then
	-- do something!
end

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details