GET_EXTERNAL_KVP_INT
A getter for [SET_RESOURCE_KVP_INT](#\_0x6A2B1E8), but for a specified resource.
CFX
Signature
lua
GetExternalKvpInt(resource, key)
-- returns intParameters
| Name | Type | Description |
|---|---|---|
| char* | The resource to fetch from. | |
| char* | The key to fetch |
Usage
Named call
GetExternalKvpInt(resource, key)InvokeNative
Citizen.InvokeNative(0x12B8D689, resource, key)lua 1
local kvpValue = GetExternalKvpInt('food', 'bananabread')
if kvpValue then
-- do something!
endDetails
- Hash
- API set
- Source
- cfx
Source: cfx
