Problem with class selection and dialogs
#1

So my problem is when the player connects first thing happens is Languages dialog shows up, Once the player chooses his language he will be taken to class selection and then register / login dialog will appear

This is how things supposed to be but in case the player had very high ping when joining game, He will be taken to class selection then he has enough time to press spawn button before the login / register dialog shows up so another dialog will appear anddd this is the problem The player won't login nor register, Is there any solution for this? Like making the login/register dialog appear before player gets into class selection Is it possible?

Thanks in advance.
Reply
#2

Create a boolean variable that is set to true only after the player is successfully logged in. After that, check the variable in OnPlayerRequestClass.
Reply
#3

Quote:
Originally Posted by augustogdo
Посмотреть сообщение
Create a boolean variable that is set to true only after the player is successfully logged in. After that, check the variable in OnPlayerRequestClass.
Oh yeaaa I did not think of this
Reply
#4

You're welcome
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)