Posts: 70
Threads: 16
Joined: May 2011
Reputation:
0
So I have a problem with restarting my server. So when I login to my server I spawn normally but whenever I restart server using GameModeExit(); or SendRconCommand("gmx"); I spawn in strange place with CJ's skin I mean I restart the server while I am inside the server... but when I restart it once more then everything is okay so it is always first restart bugging like that I just want to find a solution for that.
Posts: 368
Threads: 5
Joined: Mar 2012
Reputation:
0
gmx is restarting the gamemode only, so other stuff you use doesnt get restarted. Uou could try using the rcon command exit, it turns off ur server and then just turn it back on or make a script to turn it back on
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
Unless you really plan your gamemode with gmx in mind you'll have issues it's probably the worst thing to do because even if everything is done right it causes a myriad of client bugs. The best way is to always completely restart your script.