My registration script doesn't work
#2

pawn Код:
stock Register(playerid,key[])
{
    new Playerdata[64];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Playerdata,sizeof(Playerdata),"/Accounts/%s.txt",name);
    dini_Create(Playerdata);
    dini_Set(Playerdata,"Password",key);
    return 1;
}
I fixed one line, where are the errors?
Reply


Messages In This Thread
My registration script doesn't work - by New Ilyass - 30.01.2011, 11:10
Re: My registration script doesn't work - by armyoftwo - 30.01.2011, 11:11

Forum Jump:


Users browsing this thread: 1 Guest(s)