NetworkAddMapEntityToSynchronisedScene — FiveM Natives
0x45F35C0EDC33B03B · NETWORK · all
Adds a map entity to a network synchronized scene. This native function is utilized only once as of game build 2944 within the casino_slots script. Please note that it's only possible to add a single map entity to synchronised scenes. It's advisable to initially locate the object and retrieve its actual coordinates using GET_CLOSEST_OBJECT_OF_TYPE. `` NativeDB Introduced: v1734 ``
Parameters
| Name | Type | Description |
|---|---|---|
| netScene | int | Net scene ID returned by [`NETWORK_CREATE_SYNCHRONISED_SCENE`](#\_0x7CD6BC4C2BBDD526) |
| modelHash | Hash | Model hash of the object the script should look for. |
| x | float | Object X coord. |
| y | float | Object Y coord. |
| z | float | Object Z coord. |
| animDict | char* | Anim dictionary to play on this object. |
| animName | char* | Anim name to play on this object. |
| blendInSpeed | float | Float representing how quickly the animation should be blended into. Default is `8.0`. |
| blendOutSpeed | float | Float representing how quickly the animation should be blended out of. Default is `-8.0` |
| flags | int | See [`NETWORK_ADD_PED_TO_SYNCHRONISED_SCENE`](#\_0x742A637471BCECD9). |
Returns
void