28.01.2018, 15:29
Quote:
Then there should be no problem. Re download the current version again, just to make sure and recompile.
If that doesn't work, show us the code where you use Get, Set functions. |
Код:
new tmp3[50],PlayerName[MAX_PLAYER_NAME],string[128]; GetPlayerName(playerid,PlayerName,MAX_PLAYER_NAME); GetPlayerIp(playerid,tmp3,50); if(strlen(dini_Get("records.cfg", tmp3)) == 0) dini_Set("records.cfg", tmp3, PlayerName); else { if( strfind( dini_Get("records.cfg", tmp3), PlayerName, true) == -1 ) { format(string,sizeof(string),"%s,%s", dini_Get("records.cfg",tmp3), PlayerName); dini_Set("records.cfg", tmp3, string); } } new File: file = fopen("accounts.cfg", io_append); format(string,sizeof(string),"%s\r\n",PlayerName); fwrite(file,string); fclose(file); return 1; }