Skin select and Login
#1

Hello again guys!
When I connect to my server, I log in and select my skin. But everytime I switch skin, I mean, press the --> button for next skin, I have to login again.. and when I do, it says I'm already logged in. So when I try to switch skin again, it all happens again, lol.
How can I fix this?
Reply
#2

Show your code.
Reply
#3

It sounds like you're showing your login dialog in OnPlayerRequestClass, everytime you click the left or right buttons to switch skins, it calls that callback thus showing your dialog again. Maybe set a variable to say that a player is logged in after they've logged in successfully and then in OnPlayerRequestClass make it so it only shows the dialog if the player isn't logged in, that should fix your issue.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)