Roleplay connect
#2

OnPlayerConnect
pawn Код:
if(fexist(Path(playerid)))
    {
         INI_ParseFile(Path(playerid),"loadaccount_%s", .bExtra = true, .extra = playerid);
         ShowPlayerDialog(playerid,dlogin,DIALOG_STYLE_INPUT,"Login","Welcome back. This account is registered. \nType your password to login to your account","Login","Quit");/*A dialog with input style will appear so you can insert your password to login.*/
    }
    else
    {
             ShowPlayerDialog(playerid,dregister,DIALOG_STYLE_INPUT,"Register","Welcome! This account is not registered.\nEnter your own password to create a new account.","Register","Quit");
     }
I just edited deleted some lines within if(fexist....)) - Showing register dialog.
Reply


Messages In This Thread
Roleplay connect - by AhmedMohamed - 02.06.2014, 13:24
Re: Roleplay connect - by biker122 - 02.06.2014, 13:28
Re: Roleplay connect - by AhmedMohamed - 02.06.2014, 13:44
Re: Roleplay connect - by AhmedMohamed - 02.06.2014, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)