27.02.2014, 06:35
Quote:
Well the answer might be very easy.
When you connect you are automatically going to the "request classes", no matter if you're opening a dialog or if you're checking a file (account exists). You shouldn't use the ShowPlayerDialog() in OnPlayerRequestClass, let it pop up after a player is successfully registered or logged in |
You can just show the register dialog in OnPlayerConnect if the player isnt registered (if(!fexist(USERPATH))
If (if(!fexist(USERPATH)) isnt true, show the player the login dialog OnPlayerConnect... Im on my phone, sorry to not be detailed!