
=== HOW TO INSTALL A YMAP FILE IN GTA V SINGLEPLAYER ===

1. Download the desired YMAP map from trusted sites (e.g., GTA5-Mods).
2. Extract the contents of the file using WinRAR or 7-Zip.
3. Open OpenIV and enable "Edit Mode" (pencil icon).
4. Navigate to the update\x64\dlcpacks folder.
5. Create a new folder called custom_maps (if it doesn't exist).
6. Inside custom_maps, create the structure: dlc.rpf\x64\levels\gta5\_citye\maps\custom_maps.rpf.
7. Drag and drop the .ymap file into the custom_maps.rpf within OpenIV.
8. Open the update\update.rpf\common\data\dlclist.xml file using OpenIV.
9. Add the following line before the </Paths> tag:
   <Item>dlcpacks:/custom_maps/</Item>
10. Save the changes and close OpenIV.
11. Launch GTA V.
12. Use Map Editor (F7) or Menyoo (F8) to load the YMAP map inside the game.

Tips:
- Some maps require Map Builder V.
- If the map doesn't appear, check for conflicts with other mods or missing files.
- Large maps may affect game performance.


=== HOW TO INSTALL A YMAP FILE ON A FIVEM SERVER ===

1. Inside your FiveM server's 'resources' folder, create a folder for the resource (e.g., FranklinHouse).
2. Inside that folder, create a folder named 'stream'.
3. Place the .ymap file inside the 'stream' folder.
4. In the main resource folder (FranklinHouse), create a 'fxmanifest.lua' file with the following content:

   resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
   this_is_a_map 'yes'

5. In your server's 'server.cfg' file, add the line:

   start FranklinHouse

6. Save the changes and restart the FiveM server.
7. Join the server and check if the map appears in the correct location.

Tips:
- Use tools like YMap Converter if necessary.
- Check the server console for errors.
- Keep the folder name and server.cfg start line identical.

---

If you need more help, just ask!
