RDR3 matchUnofficial name
TASK::_GET_ITEM_INTERACTION_ENTITY_FROM_PED
0x58EB2497FA5FEFF1 ·RVA 0x044BEEB0
Signature
Entity _GET_ITEM_INTERACTION_ENTITY_FROM_PED(Ped ped, Hash item);
The scripts pass 3 values to this native; the decoded signature lists 2 (arguments the game doesn't read are left out).
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Hash | item |
– |
Returns
Entity
Call it
// TASK::_GET_ITEM_INTERACTION_ENTITY_FROM_PED
auto result = invoke<Entity>(0x58EB2497FA5FEFF1, ped, item);// TASK::_GET_ITEM_INTERACTION_ENTITY_FROM_PED
int result = Function.Call<int>((Hash)0x58EB2497FA5FEFF1, ped, item);-- TASK::_GET_ITEM_INTERACTION_ENTITY_FROM_PED
local result = Citizen.InvokeNative(0x58EB2497FA5FEFF1, ped, item)// TASK::_GET_ITEM_INTERACTION_ENTITY_FROM_PED
const result = Citizen.invokeNative("0x58EB2497FA5FEFF1", ped, item);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.