Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Wklejka gjuf9vartbbp dodana przez P3neR, 21.11.2020 10:53
Typ:



1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
	Twoje z Misjami
 
 
		new name[48]
		get_user_name(target,name,47)
 
		new nazwa[32],postep,postepmax,misja[48]
		postep = pobierz_postepy(target,0)
		postepmax = pobierz_postepy(target,1)
		pobierz_misje(target,nazwa,31)
 
		if(czy_ma_misje(target))
		format(misja,47,"%s: %i/%i",nazwa,postep,postepmax)
		else
		format(misja,47,"Wpisz /misje",nazwa,postep,postepmax)
 
		formatex(tpstring, 511, "[%s]^n [Ranga: %s]^n [Zabicia: %i/%i]^n [%s]^n [Klucze: %i] [Skrzynie: %i]^n [Skrzynie Krolewskie: %d]^n [%s: %i]^n [Konto: %s]^n [Skin: %s]",name,Ranga,Staty[0],PobierzZabicia(target),misja,klucze[target],skrzynie[target],skrzyniep[target],NAZWA_WALUTY,waluta[target],konto,Skintrzymany)
 
 
		set_hudmessage(200, 50, 0, 0.8, 0.1, 0, 1.0, 1.0, 0.01, 0.01)
		ShowSyncHudMsg(id, SyncObj1, "%s", tpstring)
		return PLUGIN_CONTINUE
	}
 
                                   Moj hud
public displayHud(taskIndex)
{
	new index = taskIndex - TASK_DISPLAYHUD;
 
	if(!is_user_connected(index) || !hudEnabled[index] || is_user_bot(index))
	{
		return;
	}
 
	new target;
 
	if(!is_user_alive(index))
	{
		target = pev(index, pev_iuser2);
 
		if(!is_user_alive(target))
		{
			return;
		}
	}
	else
	{
		target = index;
	}
 
	static userName[33],
		requiredKills,
		userPosition,
		userRankIndex,
		userStats[8],
		blank[8];
 
	get_user_name(target, userName, charsmax(userName));
 
	userRankIndex = getRankIndex(target);
	userPosition = get_user_stats(target, userStats, blank);        
	requiredKills = (userRankIndex + 1 == sizeof(rankKills) ? rankKills[userRankIndex][1] : rankKills[userRankIndex + 1][0]);
 
	new szSkin[33];
 
	get_skin_name(get_user_skinid(target), szSkin, charsmax(szSkin));
 
	set_hudmessage(30, 255, 100, 0.8, 0.1, 0, 1.0, 1.0, 0.01, 0.01);
	ShowSyncHudMsg(index, hudObject, "[Nick: %s]^n [Ranga: %s]^n [Zabicia: %i/%i]^n [Ranking: %i/%i]^n [Prezenty: %d]^n [Konto: %s]^n [Skin: %s]^n", 
		userName, rankName[userRankIndex], userStats[0], requiredKills, userPosition, get_statsnum(), get_user_prezenty(target), get_user_flags(target) & ADMIN_LEVEL_H ? "V.I.P" : "FREE", szSkin);
 
	new text[256];
 
	if(player_has_mission(target) == 0)
	{
		text = "[NazwaSieci.pl]^n[Brak Misji]|[Wpisz /misje]";
	}
	else
	{
		formatex(text, charsmax(text), "[NazwaSieci.pl]^n[Postep: %i/%i] [Info: %s]", get_user_progress(target), get_user_progress_need(target), get_mission_info(target));		
	}
 
	set_hudmessage(200, 50, 0, -1.0, 0.00, 0, 1.0, 1.0, 0.01, 0.01);
	ShowSyncHudMsg(index, hudObject2, "%s", text);
}

Dodanych wklejek: 4031
Powered By (Pav32) Pastebin © 2011