Witam chciałem zmienić hud w modzie bf2 36 odznakowe z nowymi odznakami, max expert, wersja 1.5.5a, korzystałem z instrukcji dla 1.5.5 i niestety wyskakuje taki error
Poniżej podaję hud.inl
//Bf2 Rank Mod HUD File
//Contains all the HUD functions.
#if defined bf2_hud_included
  #endinput
#endif
#define bf2_hud_included
//Show an announcement display
public Announcement(id)
{
	if ( !get_pcvar_num(gPcvarBF2Active) || is_user_bot(id) ) return;
	#if defined KOLOROWY_SAY
	ColorChat(id,TEAM_COLOR,"[BF2: JS]^x03 Ten serwer uzywa^x04 %s.^x03 Wpisz^x04 ^"/bf2menu^"^x03 aby uzyskac wiecej informacji", gPluginName);
	#else
	client_print(id, print_chat, "[BF2: JS] Ten serwer uzywa %s. Wpisz ^"/bf2menu^" aby uzyskac wiecej informacji", gPluginName);
	#endif
}
//Displays the HUD to the user
public DisplayHUD(id)
{
	id -= TASK_HUD;
	
	if ( !get_pcvar_num(gPcvarBF2Active) || !get_pcvar_num(gPcvarStatusText) )
		return;
	if ( !is_user_alive(id) || is_user_bot(id) )
		return;
	
	if(!is_user_connected(id))
	{
		remove_task(id+TASK_HUD);
		return;
	}
	set_hudmessage(227, 96, 8, 0.05, 0.15, 0, 0.0, 0.3, 0.0, 0.0, 3)
	if ( !gStatsLoaded[id] )
	{
		ShowSyncHudMsg(id, gHUD,"[%s] Wczytuje Dane...", gPluginName)
	}
	else
	{
		new rank = g_PlayerRank[id];
		new nextrank;
		switch(rank)
		{
			case 16, 19, 20, 21: nextrank = 15;
			case 17: nextrank = 7;
			case 18: nextrank = 8;
			default: nextrank = rank;
		}
		++nextrank;
		new nextrankxp = floatround(gRankXP[nextrank] * get_pcvar_float(gPcvarXpMultiplier));
		if ( !get_pcvar_num(gPcvarBadgesActive) )
		{
			ShowSyncHudMsg(id, gHUD,"[%s]^nRanga: %s^nZabicia: %d/%d", gPluginName, gRankName[rank], totalkills[id], nextrankxp)
		}
		else
		{
			ShowSyncHudMsg(id, gHUD,"[%s]^nRanga: %s^nIlosc Odznak: %d^nZabicia: %d/%d", gPluginName, gRankName[rank], numofbadges[id], totalkills[id], nextrankxp)
		}
	}
}
public RemoveHUD(id)
{
	remove_task(id+TASK_HUD);
}
Proszę o pomoc bo naprawdę zależy mi na zmienionym hudzie w tym bf2, a zwykłej wersji nie miałem tego problemu 
. Przepraszam że napisane troche chaotycznie.


 
Dodatki SourceMod



	









