25.05.2011, 18:37
i dont really understand, i have like
but, then it will only write into a file that line, or if i io_append then it adds the line at the end not overwrites the line :S
Код:
new string3[256]; new playername3[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername3, sizeof(playername3)); format(string3, sizeof(string3), "files/users/%s.ini", playername3); new File: hFile = fopen(string3, io_write); if (hFile) { new var[32]; format(var, 32, "Activated=%1\n",PlayerInfo[playerid][pActivated]);fwrite(hFile, var);