GetEntityIndexFromMapdata — FiveM Natives
0xEE43540D · CFX · client
Returns the transient entity index for a specified mapdata/entity pair. This function supports SDK infrastructure and is not intended to be used directly from your code.
Parameters
| Name | Type | Description |
|---|---|---|
| mapdata | int | The input map data index from GET_MAPDATA_FROM_HASH_KEY. |
| entity | int | The input entity handle from GET_ENTITY_MAPDATA_OWNER. |
Returns
int