Hey everyone,
I recently opened a PR on the FiveM repository (PR #3939) that introduces some new natives for dynamic map management, and I’d love to get some community feedback on the concept.
What it does: The goal of the PR is to allow unloading the base GTA map and managing custom stream sets at runtime—without needing a server restart or global loading. It introduces a few natives like UnloadMap(), ReloadMap(), RequestStreamSet(), and ReleaseStreamSet().
I’m hoping this could be useful for:
-
Lobby-based servers or minigames switching maps on the fly.
-
Total map conversions (playing entirely on a custom island without base Los Santos taking up memory).
-
Better client memory management by only mounting assets when actually needed.
I’m mainly looking to see if this is something the broader developer community would find useful, and if there are any specific use-cases or potential edge cases I should keep in mind while polishing the code.
If you have a minute, feel free to check out the technical details on the GitHub PR or share your thoughts/concerns in this thread.
Thanks!