Member name saving in a file
#2

I never did INI, but you should do this:
Код:
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));

printf("[TEST] Player's name is: %s", pname);
I guess you should save the name (string) like this:
Код:
INI_WriteString(iFileHandle, "string_data", "pname"); // Saving string
And this is how it saves: string_data = John
Reply


Messages In This Thread
Member name saving in a file - by hhaaoo123 - 31.05.2015, 09:29
Re: Member name saving in a file - by amirm3hdi - 31.05.2015, 09:46
Re: Member name saving in a file - by hhaaoo123 - 31.05.2015, 10:26
Re: Member name saving in a file - by amirm3hdi - 31.05.2015, 10:27
Re: Member name saving in a file - by hhaaoo123 - 31.05.2015, 10:36
Re: Member name saving in a file - by hhaaoo123 - 31.05.2015, 10:41
AW: Member name saving in a file - by Nero_3D - 31.05.2015, 10:48

Forum Jump:


Users browsing this thread: 1 Guest(s)