Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document N_0x45f35c0edc33b03b #909

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update params and spelling
Added changes suggested by Z3rio
  • Loading branch information
freedy69 authored Aug 30, 2023
commit aed2b4d00662fcb02ccff1e331e6f59bd7e6e37c
20 changes: 10 additions & 10 deletions NETWORK/NetworkAddMapObjectToSynchronisedScene.md
Original file line number Diff line number Diff line change
@@ -9,18 +9,18 @@ aliases: ["0x45F35C0EDC33B03B"]
void _NETWORK_ADD_MAP_OBJECT_TO_SYNCHRONISED_SCENE(int netScene, Hash modelHash, float x, float y, float z, cs_type(float) char* animDict, char* animName, float p7, float p8, int flags);
freedy69 marked this conversation as resolved.
Show resolved Hide resolved
```

Adds a map object/entity to a synchronised scene, by specifying it's hash.
Adds a map object/entity to a synchronised scene.

## Parameters
* **netScene**: net scene id, returned by NetworkCreateSynchronisedScene
* **modelHash**: Object model hash
* **x**: x coord
* **y**: y coord
* **z**: z coord
* **animDict**: anim dictionary to play on this object
* **animName**: anim name to play on this object
* **p7**:
* **p8**:
* **netScene**: The net scene's ID, which is returned by NetworkCreateSynchronisedScene
* **modelHash**: The object model's hash
* **x**: x coordinate
* **y**: y coordinate
* **z**: z coordinate
* **animDict**: The animation dictionary to play on this object
* **animName**: The animation name to play on this object
* **p7**: unknown, although gta seems to use 2.0
* **p8**: unknown, although gta seems to use -1.5
* **flags**: Animation flags (See TaskPlayAnim)

## Examples