TAT0R Posted April 25, 2022 Share Posted April 25, 2022 Hi guys, I would like to add to my server the possibility of automatically restarting if no player is connected to the server. I tried a script but it doesn't work. Do you have an idea ? to be placed in the instance's Hook folder thx a lot best regard Link to comment Share on other sites More sharing options...
hancerPL Posted July 2, 2022 Share Posted July 2, 2022 There is a simple way, you check the number of players on the mission and use the flag to reset. Please write to Priv. Specialization A-10C https://vbw304.pl/ Link to comment Share on other sites More sharing options...
TAT0R Posted July 8, 2022 Author Share Posted July 8, 2022 @hancerPL how u check that pls ? Link to comment Share on other sites More sharing options...
hancerPL Posted July 8, 2022 Share Posted July 8, 2022 (edited) Set your time e.g. to 60 and enter the mission until the info appears and exit the mission, it must end. You need to fire up on the server and change the number of remotes to 2, ask a friend and come in two. Edited July 8, 2022 by hancerPL Specialization A-10C https://vbw304.pl/ Link to comment Share on other sites More sharing options...
PravusJSB Posted July 16, 2022 Share Posted July 16, 2022 The easiest way would be to add a hook on pause, and set the server options to pause if no connected clients. Then you can pop the code in the hook to restart, shuffle, load another etc., 2 min job. Creator & Developer of XSAF ::An AI model that wants to kill you, and needs no help from humans. Discord: PravusJSB#9484 twitch.tv/pravusjsb https://www.patreon.com/XSAF https://discord.gg/pC9EBe8vWU https://bmc.link/johnsbeaslu Work with me on Fiverr: https://www.fiverr.com/pravusjsb Link to comment Share on other sites More sharing options...
Recommended Posts