[HELP] After register nothing happens
#1

Hey. I'm using login and register with y_ini, But when i register nothing happens no spawn, no class seletion, no nothing. Just message: "You have successfully registered!"

My register commands:
pawn Код:
if(!strlen(inputtext))
{
   ShowPlayerDialog(playerid,dregister,DIALOG_STYLE_INPUT,"Register","Welcome! Enter your password to register!","Register","Quit");
    return 1;
}
    new hashpass[129];
    WP_Hash(hashpass,sizeof(hashpass),inputtext);
    new INI:file = INI_Open(Path(playerid));
    INI_SetTag(file,"Player's Data");
    INI_WriteString(file,"Password",hashpass);
    INI_WriteInt(file,"AdminLevel",0);
    INI_WriteInt(file,"VIPLevel",0);
    INI_WriteInt(file,"Money",0);
    INI_WriteInt(file,"Scores",0);
    INI_WriteInt(file,"Kills",0);
    INI_WriteInt(file,"Deaths",0);
    INI_WriteInt(file,"Skin",-1);
    INI_WriteInt(file,"Balance",0);
    INI_Close(file);
    SendClientMessage(playerid,-1,"You have been successfully registered");
    return 1;
Created it using this tutorial: It worked since 2 days.
Reply


Messages In This Thread
[HELP] After register nothing happens - by anito - 25.07.2012, 16:55
Re : [HELP] After register nothing happens - by lelemaster - 25.07.2012, 17:23
Re: [HELP] After register nothing happens - by anito - 25.07.2012, 18:19

Forum Jump:


Users browsing this thread: 1 Guest(s)