08.03.2011, 18:16
Hello everyone.
I have a minor problem with a doalog in a login/register system in my gamemode.
It works almost fine, when the player joins the server first time, it asks him to register.
If he is leaving the server, and connecting again, it asks for his password. Thats all great...
BUT if he types a wrong password, the dialog just disappears, and he is able to spawn.
If someone would be kind and take a look at it, i would be very happy.
You can see it here: http://pastebin.com/wrvcZb7h (Just ignore that Pastebin made my includes and defines green)
Its also attached below, if you wanna download it in stead.
Btw; its a gamemode. (The beginning of it).
Hope you can help me. Thank you very much.
I have a minor problem with a doalog in a login/register system in my gamemode.
It works almost fine, when the player joins the server first time, it asks him to register.
If he is leaving the server, and connecting again, it asks for his password. Thats all great...
BUT if he types a wrong password, the dialog just disappears, and he is able to spawn.
If someone would be kind and take a look at it, i would be very happy.
You can see it here: http://pastebin.com/wrvcZb7h (Just ignore that Pastebin made my includes and defines green)
Its also attached below, if you wanna download it in stead.
Btw; its a gamemode. (The beginning of it).
Hope you can help me. Thank you very much.