19.01.2017, 18:08
Quote:
How are you restarting your server? Manually, or GMX?
If it's GMX, then the problem is when your showing labels, your not updating the object to show the labels, your only applying it. As for when your server restarts, you haven't reset the enum / variable that holds the labels ability to show. So when the server restarts and the objects load in, its checking the variable holding the status of the showing label and showing it. Simply reset your variables on OnGameModeExit, or what ever function you need to. |
Only Filterscripts do not get reloaded during a GMX. Saying so he doesn't have to do unneccessary work in case it was added in the gamemode.
Also, correct initialization is more clever, that has to be done anyway and makes most exiting code obsolete.