Accounts not being removed from userfiles[Y_ini]
#5

Well, i tried it like this:

pawn Код:
GetPlayerName(playerid, Name, sizeof(Name));
     GetPlayerName(id, Name2, sizeof(Name2));
     
     new INI:file = INI_Open(Path(id));
     new cstring[128];
     INI_SetTag(file, "User's Data");
     GetPlayerName(id, daname, sizeof(daname));
     format(astring, sizeof(astring), "/Users/%s.ini", daname);
     fremove(astring);
     INI_WriteString(file, "Name", newname);
     format(cstring, sizeof(cstring), "/Users/%s.ini", newname);
     INI_Close(file);
and i still can't get it right :/
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)