_GET_VEHICLE_FROM_INDEXED_ITEM
Hash
0xE578C8AE173719B3Runtime name
GetVehicleFromIndexedItemNamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Vehicle _GET_VEHICLE_FROM_INDEXED_ITEM(ScrHandle item);Parameters
| Name | Type | Description |
|---|---|---|
item | ScrHandle | — |
Returns Vehicle
Usage
local retval = GetVehicleFromIndexedItem(item)
-- always works, by hash
local retval = Citizen.InvokeNative(0xE578C8AE173719B3, item, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetVehicleFromIndexedItem(item);
// by hash
const retval = Citizen.invokeNative('0xE578C8AE173719B3', item, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xE578C8AE173719B3, 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.