RedM Natives

FIND_KVP

Hash0xBD7BEBC5
Runtime nameFindKvp
NamespaceCFX
SideClient + server
NameOfficial
Docs

Signature

char* FIND_KVP(int handle);

Parameters

NameTypeDescription
handleint

The KVP find handle returned from START_FIND_KVP

Returns char* — None.

Usage

Lua
local retval = FindKvp(handle)

-- always works, by hash
local retval = Citizen.InvokeNative(0xbd7bebc5, handle, Citizen.ResultAsString())
JavaScript and C#
JavaScript
const retval = FindKvp(handle);

// by hash
const retval = Citizen.invokeNative('0xbd7bebc5', handle, Citizen.returnResultAnyway(), Citizen.resultAsString());
C#
string retval = Function.Call<string>((Hash)0xbd7bebc5, handle);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.