31.05.2015, 09:46
I never did INI, but you should do this:
I guess you should save the name (string) like this:
And this is how it saves: string_data = John
Код:
new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof(pname)); printf("[TEST] Player's name is: %s", pname);
Код:
INI_WriteString(iFileHandle, "string_data", "pname"); // Saving string