16.01.2017, 14:41
Im having a dynamic mapping system in game..Whenever i add a object it will be normal and wont shows its id num..but when i restart my server it shows the object id and kinda messy..any way to prevent it?
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. |
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. |