Skip to content

Commit

Permalink
Update stream_objects.md (#74)
Browse files Browse the repository at this point in the history
Updated Wrong information, added a Note
  • Loading branch information
BluePeer authored Jan 4, 2024
1 parent e7b4dd8 commit c5ef48d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions articles/tutorials/stream_objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ This tutorial will show how to add custom objects to your server. For this tutor
1. Open the `dlc.rpf` (or however your rpf file is named) archive with one of suggested tools
2. Extract the archive like below:
* Place all `ydr`, `yft`, `ytd` and other assets in the folder `stream\assets\`. For organizational reasons, these files can be distributed into subfolders
* Place all `ytyp` files into the folder `stream\`
* Place all `ytyp` files into the folder `stream\assets\`. Like other files can be distributed into subfolder.
3. You have to specify the ytyp files in the resources stream.toml. More information at the bottom of this article

> [!WARNING]
> If your resource does not contain ytyp files it is not possible to spawn the objects using natives.\
> The Data Files List and examples can be found [here](https://docs.altv.mp/gta/articles/references/data-files.html).
> [!NOTE]
> 'DLC_ITYP_REQUEST'/'.ytyp' is a special case in [meta] declaration.
> It must be in the files folder like the object data.
> If it doesn't load, check the path to the file including upper/lower case in [meta].
> Only the auto load is controlled via the [meta] declaration (you save the [alt.loadYtyp](https://docs.altv.mp/js/api/alt-client.html#_altmp_altv_types_alt_client_loadYtyp) in the script)
## **Folder Structure**
```
Expand Down

0 comments on commit c5ef48d

Please sign in to comment.