UpdateMapdataEntity — FiveM Natives
0xFC52CB91 · CFX · client
Transiently updates the entity with the specified mapdata index and entity index. This function supports SDK infrastructure and is not intended to be used directly from your code.
Parameters
| Name | Type | Description |
|---|---|---|
| mapdata | int | A fwMapData index from GET_MAPDATA_FROM_HASH_KEY. |
| entity | int | An entity index from GET_ENTITY_INDEX_FROM_MAPDATA. |
| entityDef | object | The new entity definition in fwEntityDef format. |
Returns
void