RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_RESOURCE_KVP_INT

GET_RESOURCE_KVP_INT

A getter for [SET_RESOURCE_KVP_INT](#\_0x6A2B1E8).

CFX

Signature

lua
GetResourceKvpInt(key)
-- returns int

Parameters

NameTypeDescription
char*The key to fetch

Usage

Named call
GetResourceKvpInt(key)
InvokeNative
Citizen.InvokeNative(0x557B586A, key)
lua 1
local kvpValue = GetResourceKvpInt('bananabread') 
if kvpValue ~= 0 then
	-- do something!
end

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details