GET_ITEM_INTERACTION_STATE
Hash
0x6AA3DCA2C6F5EB6DRuntime name
GetItemInteractionStateNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
Signature
Hash GET_ITEM_INTERACTION_STATE(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns Hash
Usage
local retval = GetItemInteractionState(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x6AA3DCA2C6F5EB6D, ped, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetItemInteractionState(ped);
// by hash
const retval = Citizen.invokeNative('0x6AA3DCA2C6F5EB6D', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x6AA3DCA2C6F5EB6D, ped);See also
_SET_ITEM_INTERACTION_STATEAll Interaction states
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.