A simple script that adds a transition between the loading screen and spawning in-game. Should work with most custom loading screens, as well as the stock FiveM loading screen.
In case that embedded preview doesn’t work, try this: https://streamable.com/kcsk4
- Download the latest release.
- Put the folder into your resources folder. (make sure that you end up with the __resource.lua being in the following location:
start jointransitionto your server.cfg file.
- Start the server, enjoy.
- There might be a few issues, because joining servers can sometimes be glitchy, this is usually caused by some buggy resource.
- If you spot an issue in this resource itself, or have found a way to improve this, feel free to create a pull request. Or, if you just found the issue but don’t know how to solve it yourself, create an Issue on the GitHub page and make sure to provide as much information as possible.
Thanks to @Jaymo for helping me with the switch in native.