1. sayfa (Toplam 1 sayfa)

El Başı Bilgi Plugini [ACIL YARDIM]

Gönderilme zamanı: Pzt Mar 25, 2019 9:59 pm
gönderen xTaha
Merhabalar Sizden Bir plugin istiyicegim böyle aynı bir plugin şimdiden teşekkürler

El basında 5 saniye ortada böyle yazı yazın renkli olursa iyi olur

https://i.hizliresim.com/Nn0m2a.jpg

El Başı Bilgi Plugini [ACIL YARDIM]

Gönderilme zamanı: Pzt Mar 25, 2019 10:07 pm
gönderen ByBuLuT ☪
şunu buldum mobilim ama değişmek istediğin yerleri söylerden düzenlerim

Kod: Tümünü seç

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "El Basi Bilgi"
#define VERSION "1.0"
#define AUTHOR "KiriTo"

new rounds,toplamoyuncu

public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	
	register_logevent("eRoundStart", 2, "1=Round_Start");
	register_event("TextMsg","restart_roundsnum","a","2&#Game_C"/*,"2&#Game_w"*/) 
	register_logevent("round_end", 2, "1=Round_End")  
	toplamoyuncu = get_maxplayers()
}
public round_end()
{
	rounds ++
}

public restart_roundsnum() 
{
	rounds = 0 
}
public eRoundStart()
{
	set_task(2.0,"bilgi",1453)
}
public bilgi()
{
	new oyuncusayisi=0;
	new players[32], num, tempid;
			
	get_players(players, num)
			
	for (new i=0; i<num; i++)
	{
		tempid = players[i]
				
		if (is_user_connected(tempid))
		{
			oyuncusayisi++;
		}
	}
	remove_task(1453)
	new map[32],player;
	get_playersnum(player)
	get_mapname(map,31)
	set_dhudmessage( random_num(20,255), random_num(20,255), random_num(20,255), -1.0, -1.0, 2, 6.0, 3.0, 0.1, 1.5)
	show_dhudmessage(0, "[ Map = %s ]^n[- CS221.CSDURAGI.COM -]^n[Gun %d - Sunucu: %d/%d]",map,rounds,oyuncusayisi,toplamoyuncu)
}

El Başı Bilgi Plugini [ACIL YARDIM]

Gönderilme zamanı: Pzt Mar 25, 2019 10:41 pm
gönderen ByBuLuT ☪
xTaha yazdı: Pzt Mar 25, 2019 10:26 pm++++

Kod: Tümünü seç

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Vox Round Say"
#define VERSION "1.2"
#define AUTHOR "God@Dorin-NiCoMeDiA"

new rounds_elapsed;
new chat_message;
new play_sound;
new say_text;

public plugin_init()
{
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_event("HLTV", "new_round", "a", "1=0", "2=0");
	register_event("TextMsg", "restart_round", "a", "2=#Game_will_restart_in");
	play_sound = register_cvar("amx_playsound","1");
	chat_message = register_cvar("mesaj_turu","1");
	say_text = get_user_msgid("SayText");
}
public new_round()
{
	rounds_elapsed += 1;
	
	new map[32]
	get_mapname(map, 31)
	new p_players;
	new p_playernum;
	p_players = get_maxplayers();
	p_playernum = get_playersnum(1);
	
	if(get_pcvar_num(chat_message) == 1)
	{	
		client_printc(0,"!t[CSDuragi] !yRaund: !g%d !yHarita: !g%s !yOyuncular: !t%d!y/!t%d", rounds_elapsed, map, p_playernum, p_players); 
		
		set_dhudmessage(0, 255, 0, -1.0, 0.35, 2, 2.0, 2.0, 0.1, 3.0)
		show_dhudmessage(0, "× ~ CSDURAGI GAMING ~ ×"); 

		set_dhudmessage(255, 0, 0, -1.0, 0.35, 2, 2.0, 2.0, 0.1, 3.0)
		show_dhudmessage(0, "^nRaund: [ %d ] Harita: [ %s ]",rounds_elapsed, map); 

		set_dhudmessage(150, 150, 150, -1.0, 0.35, 2, 2.0, 2.0, 0.1, 3.0)
		show_dhudmessage(0, "^n^nOyuncular: [ %d/%d ]", p_playernum, p_players); 
	}
	if(get_pcvar_num(play_sound) == 1)
	{
		new rndctstr[21]
		num_to_word(rounds_elapsed, rndctstr, 20);
		client_cmd(0, "spk ^"vox/round %s^"",rndctstr)
	}	
	return PLUGIN_CONTINUE;
}
public restart_round()
{
	rounds_elapsed = 0;	
}