Raised This Month: $ Target: $400
 0% 

Sexy Sounds Advanced


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vl@d
Senior Member
Join Date: Dec 2006
Location: Romania
Old 07-02-2007 , 06:39   Sexy Sounds Advanced
Reply With Quote #1

PHP Code:
#include <amxmodx>
#include <amxmisc>


#define PLUGIN_NAME "Sexy Sounds Advanced"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "Samurai" 

#define LEVELS 12
#define TASK_CLEAR_KILL    100


new kills[33] = {0,...};
new 
deaths[33] = {0,...};
new 
hsenable
new knifeenable
new firstbloodenable
new cvardouble
new kill[33][24];
new 
firstblood
new killstreaktype


new levels[12] = {3681012141618202224 ,26};
new 
sounds[12][] = {
"sexy_sounds/sexy_multikill.wav",  
"sexy_sounds/sexy_ultrakill.wav",
"sexy_sounds/sexy_killing_spree.wav"
"sexy_sounds/sexy_megakill.wav"
"sexy_sounds/sexy_holyshit.wav",
"sexy_sounds/sexy_monsterkill.wav",
"sexy_sounds/sexy_dominating.wav",
"sexy_sounds/sexy_ludicrouskill.wav",
"sexy_sounds/sexy_rampage.wav",
"sexy_sounds/sexy_unstoppable.wav",
"sexy_sounds/sexy_godLike.wav",
"sexy_sounds/sexy_whickedsick.wav"
};



new 
messages[12][] = {
"%s: MultiKill !!!"
"%s: Ultra Kill !!!"
"%s: Killing Spree !",
"%s: Mega Kill !",
"%s: Holy Shit !",
"%s: Monster Kill !!!"
"%s: DomaNating !!!",
"%s: LuDiCrouS Kill !!!"
"%s: RamPage !!!",
"%s: UnStoPPaBle !!!",
"%s: GoDLike !!!",
"%s: WhiCkEdSick !!!"
};

new 
hsmesaje[4][]=
{
"%s a demontat capul lui %s !!!",
"%s are un aim tare pe capul lui %s !",
"%s Headshot incredibil pe %s!",
"%s a cazut %s cu un headshot superb!!!"
}

new 
fbmesaje[3][]=
{
"%s : First Blood !!!!!",
"%s A tras Primul Glont !!!"
"%s First Blood Pe tinta!"
}

new 
mesaje_cutit[3][]=
{
"%s la ceopartit pe %s",
"%s ia taiat gatul lui %s",    
"%s la umilt pe %s"
}

new 
hs[] = 
{
"sexy_sounds/sexy_headshot.wav"
}

new 
firstb[]=
{
"sexy_sounds/sexy_first_blood.wav"
}

new 
double[]=
{
"sexy_sounds/sexy_double_kill.wav"
}

new 
knife[]=
{
"sexy_sounds/sexy_humiliating.wav"
}



public 
plugin_init() {
    
register_plugin(PLUGIN_NAMEPLUGIN_VERSIONPLUGIN_AUTHOR);
    
killstreaktype register_cvar("sexy_sounds_advanced""3");
    
register_cvar("sexy_sounds""ba");
    
register_event("ResetHUD""reset_hud""b");
    
register_event("DeathMsg""event_death""a"); 
    
firstbloodenable register_cvar("sexy_firstblood","1");
    
knifeenable register_cvar("sexy_knife","1");
    
hsenable register_cvar("sexy_hs","1");

    return 
PLUGIN_CONTINUE;
}



is_mode_set(bits) {
    new 
mode[9];
    
get_cvar_string("sexy_sounds_advanced"mode8);
    return 
read_flags(mode) & bits;
}



announce(killerlevel
{
    
    new 
name[33]
    new 
random(256)
    new 
random(256)
    new 
random(256)

    
get_user_name(killername32);
    
set_hudmessage(r,g,b0.050.6520.026.00.010.12);

    if( (
get_pcvar_num(killstreaktype) <= ) || get_pcvar_num(killstreaktype) > 3)
    return 
PLUGIN_HANDLED;
    
    
    
    if(
get_pcvar_num(killstreaktype) == 1)
    {
        
show_hudmessage(0messages[level], name);
    }
        
    if(
get_pcvar_num(killstreaktype) == 2)
    {
    
client_cmd(0"spk %s"sounds[level]);
    }

    if(
get_pcvar_num(killstreaktype) == 3)
    {
    
show_hudmessage(0messages[level], name);
    
client_cmd(0"spk %s"sounds[level]);
    }
    
    return 
PLUGIN_CONTINUE;
    
}


public 
event_death(id) {
    new 
killer read_data(1);
    new 
victim read_data(2);
    new 
headshot read_data(3);
    new 
weapon[24], vicname[32], killname[32]
    
read_data(4,weapon,23)
    
get_user_name(victim,vicname,31)
    
get_user_name(killer,killname,31)


    if(
headshot == && get_pcvar_num(hsenable) ==1) { 
    
set_hudmessage(00255, -1.00.3006.06.0)
    
show_hudmessage(0, (hsmesaje[random_num(0,3)]), killnamevicname)
    
client_cmd(0,"spk %s",hs)
    } 
    
    if(
weapon[0] == 'k'  && get_pcvar_num(knifeenable) ==1){ 
        
set_hudmessage(2550255, -1.00.3006.06.0)
        
show_hudmessage(0, (mesaje_cutit[random_num(0,2)]), killnamevicname)
    
client_cmd(0,"spk %s",knife)
    } 
    
    if(
firstblood && killer!=victim && killer>&& get_pcvar_num(firstbloodenable) ==1) {           
    
set_hudmessage(2550255, -1.00.3006.06.0)
    
show_hudmessage(0, (fbmesaje[random_num(0,2)]), killname)
    
client_cmd(0,"spk %s",firstb)
    
firstblood 0
    
}

    if(
kill[killer][0] && equal(kill[killer],weapon) && get_pcvar_num(cvardouble) == 1){
    
set_hudmessage(2550255, -1.00.3006.06.0)
    
show_hudmessage(0,"OoOoO %s a facut Dublu Kill"killname)
    
kill[killer][0] = 0;
    
client_cmd(0,"spk %s",double)
    }
    
    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 
0LEVELSi++) {
    if (
kills[killer] == levels[i]) 
    {
    
announce(killeri);
    return 
PLUGIN_CONTINUE;
        }
    }
    return 
PLUGIN_CONTINUE;
}


public 
reset_hud(id) {
    if (
is_mode_set(16)) {
        if (
kills[id] > levels[0]) {
            
client_print(idprint_chat,
                         
"* Ai omorat %d de n00bi",
                         
kills[id]);
        } else if (
deaths[id] > 1) {
            
client_print(idprint_chat,
                         
"* Ai grija, ai murit de %d la rand...",
                         
deaths[id]);
        }
    }
}


public 
client_connect(id) {
    
kills[id] = 0;
    
deaths[id] = 0;
}


public 
clear_kill(taskid)
 {
    new 
id taskid-TASK_CLEAR_KILL;
    
kill[id][0] = 0;
 }


public 
plugin_precache()
{
    
precache_sound("sexy_sounds/sexy_multikill.wav")
    
precache_sound("sexy_sounds/sexy_ultrakill.wav")
    
precache_sound("sexy_sounds/sexy_killing_spree.wav")
    
precache_sound("sexy_sounds/sexy_megakill.wav")
    
precache_sound("sexy_sounds/sexy_holyshit.wav")
    
precache_sound("sexy_sounds/sexy_monsterkill.wav")
    
precache_sound("sexy_sounds/sexy_dominating.wav")
    
precache_sound("sexy_sounds/sexy_ludicrouskill.wav")
    
precache_sound("sexy_sounds/sexy_rampage.wav")
    
precache_sound("sexy_sounds/sexy_unstoppable.wav")
    
precache_sound("sexy_sounds/sexy_godLike.wav")
    
precache_sound("sexy_sounds/sexy_whickedsick.wav")
    
precache_sound("sexy_sounds/sexy_humiliating.wav")
    
precache_sound("sexy_sounds/sexy_first_blood.wav")
    
precache_sound("sexy_sounds/sexy_headshot.wav")

Everything works but the firstblood does not work. :-?
__________________


I hate Spammers....
vl@d is offline
sr_slayerz_
Member
Join Date: Dec 2006
Old 07-03-2007 , 07:23   Re: Sexy Sounds Advanced
Reply With Quote #2

how does this work .. ? LOL
sr_slayerz_ is offline
vl@d
Senior Member
Join Date: Dec 2006
Location: Romania
Old 07-03-2007 , 08:02   Re: Sexy Sounds Advanced
Reply With Quote #3

the sound works except the firstblood.
it's samurai script of ultimate sounds but modified.
Attached Files
File Type: rar misc.rar (1.67 MB, 1340 views)
__________________


I hate Spammers....
vl@d is offline
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 07-03-2007 , 09:58   Re: Sexy Sounds Advanced
Reply With Quote #4

Well either it was removed because it didn't work, or
it doesn't work because it's not in there.

Lol, check the list of the files, does anyone see "first_blood" in there?

Compare the listing ABOVE with the listing BELOW, see the difference?
__________________
Mod:
User:
BlackMilk is offline
osk522
BANNED
Join Date: Dec 2006
Location: Slöinge, Falkenberg, Hal
Old 07-03-2007 , 15:07   Re: Sexy Sounds Advanced
Reply With Quote #5

Hook round start and set the variable firstblood to 1.
osk522 is offline
Send a message via MSN to osk522
vl@d
Senior Member
Join Date: Dec 2006
Location: Romania
Old 07-03-2007 , 18:15   Re: Sexy Sounds Advanced
Reply With Quote #6

Quote:
Originally Posted by osk522 View Post
Hook round start and set the variable firstblood to 1.
tried that does not work.
__________________


I hate Spammers....
vl@d is offline
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 07-05-2007 , 02:21   Re: Sexy Sounds Advanced
Reply With Quote #7

Well I still don't see first blood in the upper listing of the files...
Something tells me that if it's not there, and also not at other places it should be, it won't work.

BTW, that's 12 sounds, I have 16 >.>
(if anyone wants to incorporate the lot into the plugin, make sure you double check all the filenames and edit them where necessary)
Attached Files
File Type: rar 16 sexy sounds.rar (1.63 MB, 2812 views)
__________________
Mod:
User:
BlackMilk is offline
sr_slayerz_
Member
Join Date: Dec 2006
Old 07-03-2007 , 16:30   Re: Sexy Sounds Advanced
Reply With Quote #8

Okay so where do I put the script?
(sorry I'm newb)

Thanks
Glad you made a script/plugin finally <3
sr_slayerz_ is offline
sr_slayerz_
Member
Join Date: Dec 2006
Old 07-07-2007 , 04:37   Re: Sexy Sounds Advanced
Reply With Quote #9

Any updates ? topics about this plugin has been on for a long time yet no results
sr_slayerz_ is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode