03.03.2014, 15:05
I send "exit" to the console to shut down the server.My server is started by a batch file.The batch is such that when the server exits the server is started again.
The issue is that it disconnects all players when the server shuts down(actually its being restarted).The players cannot reconnect until they close GTA SA and start all over again.This is very annoying.
How do I prevent the players from disconnecting?I want them to reconnect when the server starts again(without forcing the player to close his GTA SA and connect again, just connect directly).
I know there is some code to do it because I had seen it before.But I couldn't find the code using the search.
Thanks
The issue is that it disconnects all players when the server shuts down(actually its being restarted).The players cannot reconnect until they close GTA SA and start all over again.This is very annoying.
How do I prevent the players from disconnecting?I want them to reconnect when the server starts again(without forcing the player to close his GTA SA and connect again, just connect directly).
I know there is some code to do it because I had seen it before.But I couldn't find the code using the search.
Thanks