Yo scripters
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    new Playerdata[64];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Playerdata,sizeof(Playerdata),"/Accounts/%s.txt",name);
    if(dini_Exists(Playerdata))
    {
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"Login","Enter your desired password here to login","Login", "Cancel");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Registration", "Write here your desired password:", "Register", "Cancel");
    }
    return 1;
}
Reply


Messages In This Thread
Yo scripters - by New Ilyass - 30.01.2011, 11:50
Re: Yo scripters - by HyperZ - 30.01.2011, 11:52
Re : Yo scripters - by New Ilyass - 30.01.2011, 11:54
Re: Re : Yo scripters - by HyperZ - 30.01.2011, 11:55
Re : Yo scripters - by New Ilyass - 30.01.2011, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)