Wait for the player switch to be completed (state 12). wait 5 seconds before starting the switch to the player Re-enable the sound in case it was muted. Shut down the game's loading screen (this is NOT the NUI loading screen). Wait for the switch cam to be in the sky in the 'waiting' state (5). In case it was called too early before, call it again just in case. we need this to be as early as possible, without it being TOO early, it's a gamble! Sometimes this gets called too early, but sometimes it's perfectly timed, nice hack to 'hide' HUD elements from other resources/scripts. Hide radar & HUD, set cloud opacity, and use a hacky way of removing third party resource HUD elements. ![]() Switch out the player if it isn't already in a switch state. Stopping the loading screen from automatically being dismissed. Runs the initial setup whenever the script is loaded. Mutes or un-mutes the game's sound using a short fade in/out transition. (you will hear background noises while on the loading screen, so not recommended) setting this to false will NOT mute the sound as soon as the game loads Local cloudOpacity = 0.01 - (default: 0.01) Edit it if you want, but don't re-release this without my permission, and never claim it to be yours! TriggerEvent(‘esx_status:setDisplay’, 0.0) - Copyright © Vespura 2018 I have found this but i don’t know were i have to put it ![]() Thanks to for helping me with the switch in native. ![]() 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. If you spot an issue in this resource itself, or have found a way to improve this, feel free to create a pull request.There might be a few issues, because joining servers can sometimes be glitchy, this is usually caused by some buggy resource.Add start jointransition to your server.cfg file.(make sure that you end up with the _a being in the following location: resources/jointransition/_a) Put the folder into your resources folder.In case that embedded preview doesn’t work, try this: Download / Source Installation Should work with most custom loading screens, as well as the stock FiveM loading screen. A simple script that adds a transition between the loading screen and spawning in-game.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |