30.01.2011, 11:11
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;
}