_GET_PED_FROM_INDEXED_ITEM
Hash
0x3FFB15534067DCD4Runtime name
GetPedFromIndexedItemNamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Ped _GET_PED_FROM_INDEXED_ITEM(ScrHandle item);Parameters
| Name | Type | Description |
|---|---|---|
item | ScrHandle | — |
Returns Ped
Usage
local retval = GetPedFromIndexedItem(item)
-- always works, by hash
local retval = Citizen.InvokeNative(0x3FFB15534067DCD4, item, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPedFromIndexedItem(item);
// by hash
const retval = Citizen.invokeNative('0x3FFB15534067DCD4', item, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x3FFB15534067DCD4, item);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.