GET_EXTERNAL_KVP_STRING
A getter for [SET_RESOURCE_KVP](#\_0x21C7A35B), but for a specified resource.
CFX
Signature
lua
GetExternalKvpString(resource, key)
-- returns char*Parameters
| Name | Type | Description |
|---|---|---|
| char* | The resource to fetch from. | |
| char* | The key to fetch |
Usage
Named call
GetExternalKvpString(resource, key)InvokeNative
Citizen.InvokeNative(0x9080363A, resource, key)lua 1
local kvpValue = GetExternalKvpString('food', 'codfish')
if kvpValue then
-- do something!
endDetails
- Hash
- API set
- Source
- cfx
Source: cfx
