[HELP] INI 1 file - Write more names
#1

Hello,
i check players name and players ip. If player change his name, i want to write the name into a file.
Well it's easy. But what if he change name again? I want write this changed name too so i have 2 names in one file.
But now, second name rewrite the first one

Код:
new INI:file = INI_Open(IP(playerid));
INI_WriteString(file, "Alias", GetName(playerid));
INI_Close(file);
So i save player name
Код:
INI_WriteString(file, "Alias", GetName(playerid));
If he change name, "Alias" is rewritten...
I need to save up to 50 "Alias" in one file. So if he change name 50x i want see all 50 names in one file for example..
Reply
#2

INI is bad for that, just use a file.
Reply
#3

I like INI.
Reply
#4

Actually i solved it and i can save those names into one file.
But now i can't read it becasue i'am supernoob

When i save string

Код:
INI_WriteString(file, "Alias", GetName(playerid));
HOW CAN I READ Alias AND SEND IT TO CLIENT please?
Reply
#5

BUMP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)