Login System?
#10

That's because having the folder created or not has nothing to do with the errors. First, create a folder inside the scriptfiles folder called User_Accounts

Then add this at the very bottom of your script...
pawn Код:
stock USER_FILE(playerid)
{
    new file[32], name[24];
    GetPlayerName(playerid, name, 24);
    format(file,sizeof(file), "/User_Accounts/%s.txt", name);
    return file;
}
If you have any new errors after this, post them here.
Reply


Messages In This Thread
Login System? - by GreenIsGo - 25.05.2012, 00:16
Re: Login System? - by Catalyst- - 25.05.2012, 00:31
AW: Login System? - by GreenIsGo - 25.05.2012, 00:35
Re: Login System? - by Catalyst- - 25.05.2012, 00:53
AW: Login System? - by GreenIsGo - 25.05.2012, 00:55
Re: Login System? - by Catalyst- - 25.05.2012, 01:07
AW: Login System? - by GreenIsGo - 25.05.2012, 01:48
Re: Login System? - by Catalyst- - 25.05.2012, 01:56
AW: Login System? - by GreenIsGo - 25.05.2012, 11:19
Re: Login System? - by Catalyst- - 25.05.2012, 12:59

Forum Jump:


Users browsing this thread: 1 Guest(s)