Dialogs issues
#3

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
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
If he is already registered or logged in why would he need to show it in OPRC?



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!
Reply


Messages In This Thread
Dialogs issues - by Aerotactics - 26.02.2014, 20:51
Re: Dialogs issues - by Kwarde - 27.02.2014, 04:30
Re: Dialogs issues - by Crayder - 27.02.2014, 06:35
Re: Dialogs issues - by Kwarde - 27.02.2014, 07:25
Re: Dialogs issues - by Aerotactics - 27.02.2014, 17:58
Re: Dialogs issues - by Crayder - 27.02.2014, 19:15
Re: Dialogs issues - by Aerotactics - 27.02.2014, 19:24
Re: Dialogs issues - by Crayder - 27.02.2014, 19:37
Re: Dialogs issues - by Aerotactics - 27.02.2014, 19:50
Re: Dialogs issues - by Aerotactics - 27.02.2014, 22:12

Forum Jump:


Users browsing this thread: 2 Guest(s)