<commit_before>#include <YSI\y_hooks>


UpdateStatistic(key[], amount)
{
	if(!fexist("Stats.txt"))
		file_Create("Stats.txt");

	file_Open("Stats.txt");
	file_SetVal(key, file_GetVal(key) + amount);
	file_Save("Stats.txt");
	file_Close();
}


hook OnPlayerDeath(playerid, killerid, reason)
{
	switch(GetPlayerWeapon(playerid))
	{
		case 43..46, 0:
		{
			UpdateStatistic("UnarmedKills", 1);
		}
		default:
		{
			UpdateStatistic("ArmedKills", 1);
		}
	}
}

CMD:stat(playerid, params[])
{
	UpdateStatistic("UnarmedKills", 1);
	return 1;
}<commit_msg>Removed 1 debug command<commit_after>#include <YSI\y_hooks>


UpdateStatistic(key[], amount)
{
	if(!fexist("Stats.txt"))
		file_Create("Stats.txt");

	file_Open("Stats.txt");
	file_SetVal(key, file_GetVal(key) + amount);
	file_Save("Stats.txt");
	file_Close();
}


hook OnPlayerDeath(playerid, killerid, reason)
{
	switch(GetPlayerWeapon(playerid))
	{
		case 43..46, 0:
		{
			UpdateStatistic("UnarmedKills", 1);
		}
		default:
		{
			UpdateStatistic("ArmedKills", 1);
		}
	}
}
{'fraction_non_alphanumeric': 0.17641325536062377, 'fraction_numerical': 0.016569200779727095, 'mean_word_length': 5.224242424242425, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5371297', 'n_tokens_mistral': 455, 'n_tokens_neox': 414, 'n_words': 59}