RedM Natives

GET_ITEM_INTERACTION_STATE

Hash0x6AA3DCA2C6F5EB6D
Runtime nameGetItemInteractionState
NamespaceTASK
SideClient
NameOfficial
Docs
Since build1207

Signature

Hash GET_ITEM_INTERACTION_STATE(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns Hash

Usage

Lua
local retval = GetItemInteractionState(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x6AA3DCA2C6F5EB6D, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetItemInteractionState(ped);

// by hash
const retval = Citizen.invokeNative('0x6AA3DCA2C6F5EB6D', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x6AA3DCA2C6F5EB6D, ped);

See also

Sources

alloc8or RDR3 NativeDB

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