Player name in .txt file
#3

Yeah.. i figured that out by myself but after this i have another issue, the file is saving the name but idk how to use dini_Get so that the name can show up in another place like this

Код:
if(!dini_Exists("war/TopKills1.txt"))
 	dini_Create("war/TopKills1.txt");
 	format(str, 256,"{63380A}Triads{FFFFFF}-{808000}LSV{FFFFFF}-{008000}Grove{FFFFFF}, Best Killer: [{63380A}%s{FFFFFF}] || Kills: [{63380A}%d{FFFFFF}]",name, PlayerInfo[TopKills1][pWarKills]);
	dini_Set("war/TopKills1.txt", "BK1", name);
This is saving

Код:
format(cstring, sizeof(cstring),"\n \n {FFFFFF}Best Killer: {63380A}%s{FFFFFF} - Kills -[{63380A}%d{FFFFFF}] | {800000}%s{FFFFFF} - Kills - [{800000}%d{FFFFFF}]", dini_Get("war/TopKills1.txt","BK1"), PlayerInfo[TopKills1][pWarKills], dini_Get("war/TopKills2.txt","BK2"), PlayerInfo[TopKills2][pWarKills]);
How can i make so that the Best killer can show in the other place?
Reply


Messages In This Thread
Player name in .txt file - by AlexuTzVs - 02.07.2017, 15:24
Re: Player name in .txt file - by Meller - 02.07.2017, 16:08
Re: Player name in .txt file - by AlexuTzVs - 02.07.2017, 16:24
Re: Player name in .txt file - by AlexuTzVs - 02.07.2017, 19:17
Re: Player name in .txt file - by jlalt - 02.07.2017, 19:48

Forum Jump:


Users browsing this thread: 1 Guest(s)