Serwery wiaderko.com Zwiń / Rozwiń kategorię

HashJama [TP] 193.33.176.148:27015 | tp.wiaderko.com status serwera HashJama [TP] połącz

HashJama CS:GO [DM] 193.33.176.53:27015 | dm.wiaderko.com status serwera HashJama CS:GO [DM] połącz

HashJama CS:GO [FFA] 193.33.176.15:27015 | ffa.wiaderko.com status serwera HashJama CS:GO FFA [FFA] połącz

HashJama [TeamSpeak 3] 62.210.99.220:9987 | ts.wiaderko.com status serwera HashJama [TP ELITE] 62.210.99.220:27015 połącz

SPONSOR:
pukawka.pl

Nabór na JUNIOR ADMINA forum - Więcej informacji > Klik <
Pokaż wyniki od 1 do 3 z 3
  1. #1
    Lamka Awatar mytek
    Dołączył
    Aug 2008
    Posty
    13
    Thanks
    1
    Thanked 1 Time in 1 Post

    Question Ultimate_Sounds_PL - Pytanie ??

    A wiec chcialem sobie troche przerobic moj plugin czyli np zmniejszyc ilosc zabic po ktorych jest odgrywany dzwiek (wykonane i dziala),
    zmienic sciezki na inny folder (wykonane i dziala),
    male dodatki do napisow [wykonane dziala],
    dodac dzwiek "prepare" ktory by byl odgrywany przy kazdym starcie rundy
    ale nie wiem co zrobic gdyz moja wiedza przy pluginach ogranicza sie do malych przerobek.
    Wiec prosze o pomoc kogos ogarnietego zeby mi pomogl.
    Kod:
    /* AMXMODX Plugin
    
    Polski KillStreak 1.6 !B! !E! !T! !A!
    Wersja polska (polskie dzwieki i napisy) oraz wszelkie modyfikacje by Sn!ff3r
    Oryginalnie by Dizzy - http://forums.alliedmods.net/showthread.php?p=67632
    
    ---
    
    Mini Opis:
    Kazdy chyba zna dzwieki HeadShot, MultiKill (Ultimate Sounds) itd? To jest wlasnie taki plugin tylko dzwieki oraz teksty po polsku.
    Dodatkowo zmodyfikowany, np. 3 rozne dzwieki na headshot. 
    
    ---
    
    Zapraszam serdecznie wszystkich na www.wiaderko.com oraz www.cs-puchatek.pl
    
    Najlepsze serwery Counter Strike:
    Puchatek [4FuN] - 84.38.95.197:27020 
    Puchatek [FFA] - 84.38.95.197:27016
    Puchatek [TP] - 84.38.95.197:27015
    
    */
    
    #include <amxmodx>
    
    #define KNIFFMESSAGES 4
    #define LEVELS 7
    #define MESSAGESNOHP 4
    #define MESSAGESHP 4
    
    new kills[33] = {0,...};
    new deaths[33] = {0,...};
    new alone_ann = 0
    new levels[7] = {3, 4, 5, 6, 7, 8, 9};
    
    new stksounds[7][] = {
    "misc/jackass/multikill",
    "misc/jackass/ultrakill",
    "misc/jackass/monsterkill",
    "misc/jackass/killingspree",
    "misc/jackass/rampage",
    "misc/jackass/holyshit",
    "misc/jackass/godlike"};
    
    new stkmessages[7][] = {
    "%s: O S T R O :P ! ! !",
    "%s: W Y P I E R D A L A C xD ! ! !",
    "%s: M O N S T E R   K O L O [VELAUS] ! ! !",
    "%s: W S C I E K L   S I E :) ! ! !",
    "%s: R Z A D Z I S Z :D ! ! !",
    "%s: R O B I   W R A Z E N I E [OWSZEM] ! ! !",
    "%s: P R Z E Z N A C Z E N I E [GODLIKE]! ! !"};
    
    
    new kniffmessages[KNIFFMESSAGES][] = {
    "%s pokroil na plasterki %s!",
    "%s odcial jaja %s!",
    "%s przetestowal noz na %s!",
    "%s dziabnal %s!"}
    
    new messagesnohp[MESSAGESNOHP][] = {
    "%i terrorystow vs %i CT^n%s: Wszystko zalezy od Ciebie!",
    "%i terrorystow vs %i CT^n%s: Mam nadzieje ze masz apteczke?",
    "%i terrorystow vs %i CT^n%s: Zostales sam. Dobrej zabawy!",
    "%i terrorystow vs %i CT^n%s: Tylko Ty jestes zywy!"}
    
    new messageshp[MESSAGESHP][] = {
    "%i terrorystow vs %i CT^n%s (%i hp): Wszystko zalezy od Ciebie!",
    "%i terrorystow vs %i CT^n%s (%i hp): Mam nadzieje ze masz apteczke?",
    "%i terrorystow vs %i CT^n%s (%i hp): Zostales sam. Dobrej zabawy!",
    "%i terrorystow vs %i CT^n%s (%i hp): Tylko Ty jestes zywy!"}
    
    get_streak()
    {
    	new streak[3]
    	get_cvar_string("streak_mode",streak,2)
    	return read_flags(streak)
    }
    
    public death_event(id)
    {
    	new streak = get_streak()
    
    	if ((streak&1) || (streak&2))
    	{
        		new killer = read_data(1);
        		new victim = read_data(2);
    
        		kills[killer] += 1;
        		kills[victim] = 0;
        		deaths[killer] = 0;
        		deaths[victim] += 1;
    
        		for (new i = 0; i < LEVELS; i++)
    		{
            		if (kills[killer] == levels[i])
    			{
             	  		 announce(killer, i);
             	  		 return PLUGIN_CONTINUE;
    			}
    		}
    	}
    	return PLUGIN_CONTINUE;
    }
    
    announce(killer, level)
    {
    	new streak = get_streak()
    
    	if (streak&1)
    	{
        		new name[32];
    
       		get_user_name(killer, name, 32);
    		set_hudmessage(0, 100, 200, 0.05, 0.65, 2, 0.02, 6.0, 0.01, 0.1, 2);
    		show_hudmessage(0, stkmessages[level], name);
    	}
    
    	if (streak&2){
        		client_cmd(0, "spk %s", stksounds[level]);
    	}
    }
    
    public reset_hud(id)
    {
    	new streak = get_streak()
    
    	if (streak&1)
    	{
    
    		if (kills[id] > levels[0])
    		{
    		        client_print(id, print_chat, 
    			"* Twoj killstreak wynosi %d zabojstw.", kills[id]);
    
    		}
    
    		else if (deaths[id] > 1)
    		{
    			client_print(id, print_chat, 
    			"* Twoj deathstreak wynosi %d smierci.", deaths[id]);
    		}
    	}
    }
    
    public client_connect(id)
    {
    	new streak = get_streak()
    
    	if ((streak&1) || (streak&2))
    	{
    		kills[id] = 0;
    		deaths[id] = 0;
    	}
    }
    
    public knife_kill()
    {
    	new kniffmode[4] 
    	get_cvar_string("kniff_mode",kniffmode,4) 
    	new kniffmode_bit = read_flags(kniffmode)
    
    	if (kniffmode_bit & 1)
    	{
    		new killer_id = read_data(1)
    		new victim_id = read_data(2)
    		new killer_name[33], victim_name[33]
    
    		get_user_name(killer_id,killer_name,33)
    		get_user_name(victim_id,victim_name,33)
    
    
    		set_hudmessage(200, 100, 0, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 1)
    		show_hudmessage(0,kniffmessages[ random_num(0,KNIFFMESSAGES-1) ],killer_name,victim_name)
    	}
    
    	if (kniffmode_bit & 2)
    	{
    		client_cmd(0,"spk misc/jackass/humiliation")
       	}
    }
    
    
    public roundend_msg(id)
    
    	alone_ann = 0
    
    public death_msg(id)
    {
    
    	new lmmode[8] 
    	get_cvar_string("lastman_mode",lmmode,8) 
    	new lmmode_bit = read_flags(lmmode)
    
    	new players_ct[32], players_t[32], ict, ite, last
    	get_players(players_ct,ict,"ae","CT")   
    	get_players(players_t,ite,"ae","TERRORIST")   
    
    	if (ict==1&&ite==1)
    	{
    		new name1[32], name2[32]
    		get_user_name(players_ct[0],name1,32)
    		get_user_name(players_t[0],name2,32)
    		set_hudmessage(200, 100, 0, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 1)
    
    		if (lmmode_bit & 1)
    		{
    			if (lmmode_bit & 2)
    			{
    				show_hudmessage(0,"%s (%i hp) vs. %s (%i hp)",name1,get_user_health(players_ct[0]),name2,get_user_health(players_t[0]))
    			}
    
    			else
    			{
    				show_hudmessage(0,"%s vs. %s",name1,name2)
    			}
    
    			if (lmmode_bit & 4)
    			{
    				client_cmd(0,"spk misc/jackass/maytheforce")
    			}
    		}
    	} 
    	else
    {   
    	if (ict==1&&ite>1&&alone_ann==0&&(lmmode_bit & 4))
    	{
    		last=players_ct[0]
    		client_cmd(last,"spk misc/jackass/oneandonly")
    	}
    
    	else if (ite==1&&ict>1&&alone_ann==0&&(lmmode_bit & 4))
    	{
    		last=players_t[0]
    		client_cmd(last,"spk misc/jackass/oneandonly")
    	}
    
    	else
    	{
    		return PLUGIN_CONTINUE
    	}
    	alone_ann = last
    	new name[32]   
    	get_user_name(last,name,32)
    
    	if (lmmode_bit & 1)
    	{
    		set_hudmessage(200, 100, 0, -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 1)
    
    		if (lmmode_bit & 2)
    		{
    			show_hudmessage(0,messageshp[ random_num(0,MESSAGESHP-1) ],ite ,ict ,name,get_user_health(last))
    		}
    
    		else
    		{
    			show_hudmessage(0,messagesnohp[ random_num(0,MESSAGESNOHP-1) ],ite ,ict ,name )
    		}
    	}
    
    	if (lmmode_bit & 4)
    	{
    		client_cmd(last,"spk misc/jackass/maytheforce")
    	}
    }
    	return PLUGIN_CONTINUE   
    }
    
    public hs()
    {
    new hsmode[4]
    get_cvar_string("hs_mode",hsmode,4)
    new hsmode_bit = read_flags(hsmode)
    new rand = random_num(0,2)
    
    if (hsmode_bit & 1)
    {
    new killer_id = read_data(1)
    new victim_id = read_data(2)
    new victim_name[33]
    get_user_name(victim_id,victim_name,33)
    
    set_hudmessage(200, 100, 0, -1.0, 0.30, 0, 3.0, 3.0, 0.15, 0.15, 1)
    
    switch(rand)
      {
      case 0: show_hudmessage(killer_id,"L E B S Z O T !^n Pwn3d %s !!",victim_name)
      case 1: show_hudmessage(killer_id,"D U P S Z O T !^n Zownowales %s !!",victim_name)
      case 2: show_hudmessage(killer_id,"H E A D S H O T !^n %s poszedl sie pierdolic!!",victim_name)
      }
      
      }
      
    if (hsmode_bit & 2)
      {
      
      switch(rand)
      {
      case 0: client_cmd(0,"spk misc/jackass/headshot")
      case 1: client_cmd(0,"spk misc/jackass/dupszot")
      case 2: client_cmd(0,"spk misc/jackass/pierdol")
      }
        
      }
    }
    
    public plugin_precache()
    {
    precache_sound("misc/jackass/monsterkill.wav")
    precache_sound("misc/jackass/godlike.wav")
    precache_sound("misc/jackass/headshot.wav")
    precache_sound("misc/jackass/humiliation.wav")
    precache_sound("misc/jackass/killingspree.wav")
    precache_sound("misc/jackass/multikill.wav")
    precache_sound("misc/jackass/ultrakill.wav")
    precache_sound("misc/jackass/maytheforce.wav")
    precache_sound("misc/jackass/oneandonly.wav")
    precache_sound("misc/jackass/prepare.wav")
    precache_sound("misc/jackass/rampage.wav")
    precache_sound("misc/jackass/holyshit.wav")
    precache_sound("misc/jackass/dupszot.wav")
    precache_sound("misc/jackass/pierdol.wav")
    
    return PLUGIN_CONTINUE
    }
    
    
    public plugin_init()
    {
    	register_plugin("Polski KillStreak","1.6","Dizzy & Sn!ff3r")
    	register_event("DeathMsg","hs","a","3=1")
    	register_event("DeathMsg","knife_kill","a","4&kni")
    	register_event("ResetHUD", "reset_hud", "b");
    	register_event("DeathMsg", "death_event", "a")
    	register_event("SendAudio","roundend_msg","a","2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD_rounddraw")
    	register_event("TextMsg","roundend_msg","a","2&#Game_C","2&#Game_w")
    	register_event("DeathMsg","death_msg","a")
    	register_cvar("lastman_mode","abc")
    	register_cvar("streak_mode","ab")
    	register_cvar("kniff_mode","ab")
    	register_cvar("hs_mode","ab")
    	register_cvar("polish_killstreak", "1.6", FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_SPONLY)
    
    	return PLUGIN_CONTINUE
    }
    dzwiek jest w wavie tak jak i reszta dzwiekow

    Dorzucam .sma pluginu skad wzielem ten dzwiek [ chodzi mi tylko o jeden, ten prepare]
    Kod:
    /* Ultimtate KillStreak Advanced BETA */
    
    #include <amxmodx>
    #include <amxmisc>
    #include <csx>
    
    #define PLUGIN "Ultimate KillStreak Advanced BETA"
    #define VERSION "0.7beta"
    #define AUTHOR "SAMURAI"
    
    
    /*#define TASK_CLEAR_KILL    100*/
    #define LEVELS 10
    /*new kill[33][24];*/
    new kills[33] = {0,...};
    new deaths[33] = {0,...};
    
    new hsenable, knifeenable, firstbloodenable, nadecvar, suicidecvar, /*cvardouble,*/ rnstartcvar, killstreaktype;
    new firstblood;
    
    new hsmessages[][] =
    {
    	"%s removed %s head !!",
    	"%s had a superb aim with %s !",
    	"%s Made a superb headshot to %s!",
    	"%s down %s with a superb headshot !"
    };
    new hslist[][] =
    {
    	"ultimate_sounds/headshot1_ultimate",
    	"ultimate_sounds/headshot2_ultimate"
    };
    
    
    new knmessages[][] =
    {
    	"%s sliced and diced %s",
    	"%s pulled out knife and gutted %s",	
    	"%s knifed %s"
    };
    new knlist[][] =
    {
    	"ultimate_sounds/knife1_ultimate",
    	"ultimate_sounds/knife2_ultimate"
    };
    
    
    new fbmessages[][] =
    {
    	"%s : First Blood !",
    	"%s Drew First Blood !!!", 
    	"%s First Shot on tha Mark !"
    };
    new fblist[][] =
    {
    	"ultimate_sounds/firstblood1_ultimate",
    	"ultimate_sounds/firstblood2_ultimate"
    };
    
    
    new nademessages[][] =
    {
    	"%s got a big explosion for %s",
    	"%s made a precision throw to %s",
    	"%s is good grenadier ! i think he back from the war ..."
    };
    
    
    new suicidemess[][] =
    {
    	"%s knows how the kill command works!",
    	"%s prefer to kill himself...rather than die on battle land"
    };
    new suicidelist[][] =
    {
    	"ultimate_sounds/suicide1_ultimate",
    	"ultimate_sounds/suicide2_ultimate",
    	"ultimate_sounds/suicide3_ultimate",
    	"ultimate_sounds/suicide4_ultimate"
    };
    
    /*
    new doublelist[][] =
    {
    	"ultimate_sounds/doublekill1_ultimate",
    	"ultimate_sounds/doublekill2_ultimate"
    };*/
    
    
    new levels[10] = {3, 4, 6, 8, 10, 12,14,15,16,18};
    new sounds[10][] = 
    {
    	"ultimate_sounds/triplekill_ultimate", 
    	"ultimate_sounds/multikill_ultimate", 
    	"ultimate_sounds/ultrakill_ultimate",
    	"ultimate_sounds/killingspree_ultimate", 
    	"ultimate_sounds/megakill_ultimate", 
    	"ultimate_sounds/holyshit_ultimate",
    	"ultimate_sounds/ludicrouskill_ultimate",
    	"ultimate_sounds/rampage_ultimate",
    	"ultimate_sounds/unstoppable_ultimate",
    	"ultimate_sounds/monsterkill_ultimate"
    };
    new messages[10][] = 
    {
    	"%s: Triple Kill !", 
    	"%s: Multi Kill !",
    	"%s: Ultra Kill !", 
    	"%s: Killing Spree !",
    	"%s: Mega Kill !",
    	"%s: Holy Shit !",
    	"%s: Ludicrous Kill !", 
    	"%s: Rampage !",
    	"%s: Unstoppable !", 
    	"%s: M o n s t e R  K i L L ! ! !"
    };
    
    
    new preplist[][] =
    {
    	"ultimate_sounds/prepare1_ultimate",
    	"ultimate_sounds/prepare2_ultimate",
    	"ultimate_sounds/prepare3_ultimate"
    };
    
    
    public plugin_init() {
    	register_plugin(PLUGIN, VERSION, AUTHOR)
    	
    	register_event("ResetHUD", "reset_hud", "b");
          register_event("HLTV","rnstart","a", "1=0", "2=0");
    	killstreaktype = register_cvar("ut_killstreak_advanced", "3");
    	hsenable = register_cvar("ut_killstreak_hs","1");
    	knifeenable = register_cvar("ut_killstreak_knife","1");
    	firstbloodenable = register_cvar("ut_firstblood","1");
    	nadecvar = register_cvar("ut_nade_events","1");
    	suicidecvar = register_cvar("ut_suicide_events","1");
    	/*cvardouble = register_cvar("ut_doublekill_events","1");*/
    	rnstartcvar = register_cvar("ut_roundcout_sounds","1");
    
    }
    
    
    public client_death(killer,victim,weapon,hitplace,TK)
    {
    	if(!killer || !victim)
    		return;
    	
    	static kname[32], vname[32];
    	get_user_name(killer,kname,31);
    	get_user_name(victim,vname,31);
    	
    	if(hitplace == HIT_HEAD && get_pcvar_num(hsenable) == 1 )
    	{
    		set_hudmessage(0, 0, 255, -1.0, 0.30, 0, 6.0, 6.0);
    		show_hudmessage(0, hsmessages[random(sizeof hsmessages)], kname, vname);
    		client_cmd(0,"spk %s",hslist[random(sizeof hslist)]);
    	}
    	
    	if(weapon == CSW_KNIFE && get_pcvar_num(knifeenable) == 1 )
    	{
    		set_hudmessage(255, 0, 255, -1.0, 0.30, 0, 6.0, 6.0);
    		show_hudmessage(0, knmessages[random(sizeof knmessages)], kname, vname);
    		client_cmd(0,"spk %s",knlist[random(sizeof knlist)]);   
    	}
    	
    	if(firstblood && killer != victim && get_pcvar_num(firstbloodenable) ==1) 
    	{
    		set_hudmessage(255, 0, 255, -1.0, 0.30, 0, 6.0, 6.0);
    		show_hudmessage(0, fbmessages[random(sizeof fbmessages)], kname);
    		client_cmd(0,"spk %s",fblist[random(sizeof fblist)]);
    	}
    	
    	if(weapon == CSW_HEGRENADE && get_pcvar_num(nadecvar) == 1)
    	{
    		set_hudmessage(255, 0, 255, -1.0, 0.30, 0, 6.0, 6.0);
    		show_hudmessage(0,nademessages[random(sizeof nademessages)],kname,vname);
    		client_cmd(0,"spk ultimate_sounds/nade_ultimate");
    	}
    	
    	if(killer == victim && get_pcvar_num(suicidecvar) ==1) 
    	{
    		set_hudmessage(255, 0, 255, -1.0, 0.30, 0, 6.0, 6.0);
    		show_hudmessage(0,suicidemess[random(sizeof suicidemess)], vname);
    		client_cmd(0,"spk %s",suicidelist[random(sizeof suicidelist)]);
    	}
    	
    	
    	/*if(kill[killer][0] && equal(kill[killer],weapon) && killer != victim && get_pcvar_num(cvardouble) == 1)
    	{
    		set_hudmessage(255, 0, 255, -1.0, 0.30, 0, 6.0, 6.0);
    		show_hudmessage(0,"Wow %s made a double kill", kname);
    		kill[killer][0] = 0;
    		client_cmd(0,"spk %s",doublelist[random(sizeof doublelist)]);
    	}
    	else
    	{
    		kill[killer] = weapon;
    		set_task(0.1,"clear_kill",TASK_CLEAR_KILL+killer);
    	}*/
    
    		
    	kills[killer] += 1;
    	kills[victim] = 0;
    	deaths[killer] = 0;
    	deaths[victim] += 1;
    
    	for (new i = 0; i < LEVELS; i++) 
    	{
    		if (kills[killer] == levels[i]) 
    		{
    			announce(killer, i);
    			return;
    		}
    	}
    	
    		
    }
    		
    
    announce(killer, level) 
    {
    	
    	static name[33];
    	new r = random(256);
    	new g = random(256);
    	new b = random(256);
    
    	get_user_name(killer, name, 32);
    	
    	set_hudmessage(r,g,b, 0.05, 0.65, 2, 0.02, 6.0, 0.01, 0.1, 2);
    
    	if( (get_pcvar_num(killstreaktype) <= 0 ) || get_pcvar_num(killstreaktype) > 3)
    		return 0;
        
    	switch(get_pcvar_num(killstreaktype))
    	{
    		case 1: 
    		{	
    			show_hudmessage(0, messages[level], name);
    			return 0;
    		}
    		
    		case 2:
    		{
    			client_cmd(0, "spk %s", sounds[level]);
    			return 0;
    		}
    		
    		case 3:
    		{
    			show_hudmessage(0, messages[level], name);
    			client_cmd(0, "spk %s", sounds[level]);
    			return 0;
    		}
    	}
    			
    	return 0;
    	
    }
    
    
    public reset_hud(id) 
    {
    	firstblood = 1; 
    	if (is_mode_set(16)) 
    		if (kills[id] > levels[0]) 
    			client_print(id, print_chat, "* You are on a killstreak with %d kills.", kills[id]);
    		else if (deaths[id] > 1) 
    			client_print(id, print_chat, "* Take care, you are on a deathstreak with %d deaths in a row.", deaths[id]);
    
        
    }
    
    public rnstart(id)
    {
    	if(get_pcvar_num(rnstartcvar) == 1)
    	{
    		firstblood = 1;   
    		set_hudmessage(255, 0, 255, -1.0, 0.30, 0, 6.0, 6.0);
    		show_hudmessage(0, "Prepare To Fight!");
    
    		client_cmd(0,"spk %s",preplist[random(sizeof preplist)]);
    	}
    }
    
    public client_connect(id) 
    {
    	kills[id] = 0;
    	deaths[id] = 0;
    }
    
    /*public clear_kill(taskid)
    {
    	new id = taskid-TASK_CLEAR_KILL;
    	kill[id][0] = 0;
    }*/
    
    is_mode_set(bits) 
    {
    	new mode[9];
    	get_cvar_string("ut_killstreak_advanced", mode, 8);
    	return read_flags(mode) & bits;
    }
    
    public plugin_precache()
    {
    	precache_sound("ultimate_sounds/triplekill_ultimate.wav");
    	precache_sound("ultimate_sounds/multikill_ultimate.wav");
    	precache_sound("ultimate_sounds/ultrakill_ultimate.wav");
    	precache_sound("ultimate_sounds/killingspree_ultimate.wav");
    	precache_sound("ultimate_sounds/megakill_ultimate.wav");
    	precache_sound("ultimate_sounds/holyshit_ultimate.wav");
    	precache_sound("ultimate_sounds/ludicrouskill_ultimate.wav");
    	precache_sound("ultimate_sounds/rampage_ultimate.wav");
    	precache_sound("ultimate_sounds/unstoppable_ultimate.wav");
    	precache_sound("ultimate_sounds/monsterkill_ultimate.wav");
    	precache_sound("ultimate_sounds/headshot1_ultimate.wav");
    	precache_sound("ultimate_sounds/headshot2_ultimate.wav");
    	precache_sound("ultimate_sounds/knife1_ultimate.wav");
    	precache_sound("ultimate_sounds/knife2_ultimate.wav");
    	precache_sound("ultimate_sounds/firstblood1_ultimate.wav");
    	precache_sound("ultimate_sounds/firstblood2_ultimate.wav");
    	precache_sound("ultimate_sounds/prepare1_ultimate.wav");
    	precache_sound("ultimate_sounds/prepare2_ultimate.wav");
    	precache_sound("ultimate_sounds/prepare3_ultimate.wav");
    	precache_sound("ultimate_sounds/nade_ultimate.wav");
    	precache_sound("ultimate_sounds/suicide1_ultimate.wav");
    	precache_sound("ultimate_sounds/suicide2_ultimate.wav");
    	precache_sound("ultimate_sounds/suicide3_ultimate.wav");
    	precache_sound("ultimate_sounds/suicide4_ultimate.wav");
    	precache_sound("ultimate_sounds/doublekill1_ultimate.wav");
    	precache_sound("ultimate_sounds/doublekill2_ultimate.wav");
    }
    
    	
    /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
    *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
    */
    Jezeli ktos wie o co chodzi to prosze o odrazowy code z dodanym hmm tym czyms :)

    Pozdrawiam

  2. #2
    Spamer Awatar Lelek919
    Dołączył
    May 2008
    Posty
    114
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Domyślnie Odp: Ultimate_Sounds_PL - Pytanie ??

    Hmm zmęczony jestem troszke nie wiem czy dobrze zrozumiałem chcesz żeby na początku rundy był odtwarzany dany dźwięk tak? to dorób sobie to do pluginu piszesz że przerabiałeś już to wiesz zapewne jak dorobić to :)

    Kod:
    /* Plugin generated by AMXX-Studio */
    
    #include <amxmodx>
    #include <amxmisc>
    
    #define PLUGIN "New Plug-In"
    #define VERSION "1.0"
    #define AUTHOR "Lelek"
    
    
    public plugin_init() 
    {
    	register_plugin(PLUGIN, VERSION, AUTHOR)
    	register_logevent("round_start", 2, "1=Round_Start")
    }
    
    public round_start()
    {
    	client_cmd(0,"spk misc/prepare")
    }
    
    public plugin_precache()
    {
    	precache_sound("misc/prepare.wav")
    }

  3. The Following User Says Thank You to Lelek919 For This Useful Post:


  4. #3
    Lamka Awatar mytek
    Dołączył
    Aug 2008
    Posty
    13
    Thanks
    1
    Thanked 1 Time in 1 Post

    Domyślnie Odp: Ultimate_Sounds_PL - Pytanie ??

    Juz wszystko dziala

    Gibon dla ciebie

    /close

Podobne wątki

  1. Pytanie
    By kobra943 in forum Problemy związane z CS:S Steam i Non Steam
    Odpowiedzi: 1
    Ostatni post / autor: 06-06-2010, 17:45
  2. Plugin w rodzaju ultimate_sounds_PL
    By Gram Jajami in forum Pisanie pluginów AMXX
    Odpowiedzi: 4
    Ostatni post / autor: 03-02-2010, 23:04
  3. [Steam & Non Steam] [Problem/pytanie] Monitor ! Problem/pytanie
    By DoNoT^^ in forum Problemy z CS 1.6 oraz CS:Condition Zero
    Odpowiedzi: 1
    Ostatni post / autor: 27-10-2009, 23:06
  4. Odpowiedzi: 2
    Ostatni post / autor: 16-09-2009, 23:24
  5. problem z pluginem ultimate_sounds_Pl
    By dominik9393 in forum Problem z pluginem AMX/AMXX
    Odpowiedzi: 6
    Ostatni post / autor: 25-08-2009, 14:09
  6. Moja przeróbka ultimate_sounds_PL
    By Gram Jajami in forum Pisanie pluginów AMXX
    Odpowiedzi: 8
    Ostatni post / autor: 08-08-2009, 01:28
  7. Problem z pluginem ultimate_sounds_PL
    By DAFT in forum Problem z pluginem AMX/AMXX
    Odpowiedzi: 4
    Ostatni post / autor: 21-07-2008, 12:44
  8. Pytanie new
    By 7T Paka in forum OffTopic - Counter Strike, Steam
    Odpowiedzi: 4
    Ostatni post / autor: 17-02-2008, 06:33
  9. Pytanie
    By Robertos in forum Amx Mod X
    Odpowiedzi: 3
    Ostatni post / autor: 13-02-2008, 16:59
  10. Pytanie
    By JoneQ in forum Konfiguracja serwera HLDS Counter Strike 1.6
    Odpowiedzi: 5
    Ostatni post / autor: 08-02-2008, 08:16

Odwiedzający poszukiwali:

Nikt jeszcze nie odwiedził tej strony poprzez wyszukiwarki

Uprawnienia umieszczania postów

  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •