Raised This Month: $ Target: $400
 0% 

Kill Message w/ VOX v2.7


Post New Thread Reply   
 
Thread Tools Display Modes
Bagieta
New Member
Join Date: Apr 2009
Location: Poland
Old 04-12-2009 , 06:35   Re: Kill Message w/ VOX v2.1
Reply With Quote #11

I have polish language
Quote:
[pl]
KILL_MSG_KILL = !yZabity przez !g%s !y! On nadal ma !t%d !yHP i !t%i !yAP ! (!g%d !y*Fragi*)
KILL_MSG_VIC = !yZabiles: !t%s !y!
I missed the bit
__________________
Hello all!!!!
Bagieta is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 04-12-2009 , 09:16   Re: Kill Message w/ VOX v2.1
Reply With Quote #12

Spanish traslate
Code:
[es]
KILL_MSG_KILL = !yFuiste asesinado por !g%s !y! El tiene !t%d !yHP y !t%i !yAP ! (!g%d !y*Matados*)
KILL_MSG_VIC = !yHas asesinado a: !t%s !y!
__________________
alan_el_more is offline
PsYChOPaTiQuE
Veteran Member
Join Date: Jan 2009
Location: Paris
Old 04-12-2009 , 21:40   Re: Kill Message w/ VOX v2.1
Reply With Quote #13

French translate

Code:
[fr]
KILL_MSG_KILL = !yTue par !g%s !y! Il a toujour !t%d !yHP et !t%i !yAP ! (!g%d !y*Frags*)
KILL_MSG_VIC = !yTu as tue: !t%s !y!
__________________
PsYChOPaTiQuE is offline
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 04-13-2009 , 11:54   Re: Kill Message w/ VOX v2.3
Reply With Quote #14

UPDATE v2.3 - Rearranged the event_death function
Quote:
Originally Posted by Nextra View Post
PHP Code:
public event_death()
{
    new 
killer read_data(1);
    new 
victim read_data(2);

    if(
killer == victim)
        return 
PLUGIN_CONTINUE;

    
//...

__________________
dorin2oo7 is offline
D-TOX
Member
Join Date: Mar 2008
Old 04-13-2009 , 12:10   Re: Kill Message w/ VOX v2.3
Reply With Quote #15

Swedish Translation

Quote:
[sv]
KILL_MSG_KILL = !yD'o'dad Av !g%s !y! Han har fortfarande !t%d !yHP och !t%i !yAP kvar! (!g%d !y*Frags*)
KILL_MSG_VIC = !yDu har dödat: !t%s !y!

Last edited by D-TOX; 04-13-2009 at 12:13.
D-TOX is offline
mobididikas
Member
Join Date: Jun 2008
Location: Lithuania
Old 04-13-2009 , 15:38   Re: Kill Message w/ VOX v2.3
Reply With Quote #16

Lithuanian translation

Code:
[lt]
KILL_MSG_KILL = !yTave nužudė !g%s !y! Jis vis dar turi !t%d !yHP ir !t%i !yAP ! (!g%d !y*Nuzudymai*)
KILL_MSG_VIC = !yTu nužudei: !t%s !y!
mobididikas is offline
Send a message via Skype™ to mobididikas
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 04-14-2009 , 14:32   Re: Kill Message w/ VOX v2.3
Reply With Quote #17

New update v2.4
Last versions after adding cvars didn't work as should be. The vox sounds wor not being played!
__________________
dorin2oo7 is offline
card
Member
Join Date: Jun 2008
Old 04-14-2009 , 20:07   Re: Kill Message w/ VOX v2.4
Reply With Quote #18

take a look on this.

PHP Code:
#include <amxmodx>

public plugin_init() {
    
register_plugin("Kill Message""1.0""God@Dorin");
    
register_event("DeathMsg""event_death""a");
}

public 
event_death() {
    new 
killer read_data(1), victim read_data(2), vicname[32], killname[32], healtharmorfragsdeaths
    frags 
get_user_frags(killer);
    
deaths get_user_deaths(killer);
    
armor get_user_armor(killer);
    
health get_user_health(killer);
    
    
get_user_name(victim,vicname,31);
    
get_user_name(killer,killname,31);
    
    if(
killer == victim)
        return 
PLUGIN_CONTINUE;
    
    if(
get_user_team(killer) == get_user_team(victim))
        
client_printc(victim"\g[Info]\d Killed by your \tteammate \g%s\dwith \t%s\d. (\g %d\t HP / \g %d \tAP / \g%d \tFrags/ \g%d \tDeaths\d)."killnameget_user_weapon2(killer), healtharmorfrags-1deaths);
    else
        
client_printc(victim"\g[Info]\d Killed by \g%s\d with \t%s\d. (\g %d\t HP / \g %d \tAP / \g%d \tFrags/ \g%d \tDeaths\d)."killnameget_user_weapon2(killer), healtharmorfrags+1deaths);
    
    return 
PLUGIN_CONTINUE;
}

stock client_printc(id, const text[], {FloatSqlResult,_}:...) {
    new 
szMsg[191], iPlayers[32], iCount 1;
    
vformat(szMsgsizeof szMsg 1text3);
    
replace_all(szMsgsizeof szMsg 1"\g","^x04");
    
replace_all(szMsgsizeof szMsg 1"\d","^x01");
    
replace_all(szMsgsizeof szMsg 1"\t","^x03");
    
    if(
id)
        
iPlayers[0] = id;
    else
        
get_players(iPlayersiCount"ch");
        
    for(new 
iCount i++) {
        if(!
is_user_connected(iPlayers[i]))
            continue;
        
        
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"),_iPlayers[i]);
        
write_byte(iPlayers[i]);
        
write_string(szMsg);
        
message_end();
    }
}

stock get_user_weapon2(id) {
    new 
szWeapon[20];
    
get_weaponname(get_user_weapon(id), szWeaponcharsmax(szWeapon));
    
replace(szWeaponcharsmax(szWeapon), "weapon_""");
    
    return 
szWeapon;

ps hi xpaw and thanks for get_user_weapon2
(dorin dragut pluginul, dar e deja in statsx ...)

Last edited by card; 04-14-2009 at 20:13.
card is offline
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 04-14-2009 , 21:59   Re: Kill Message w/ VOX v2.4
Reply With Quote #19

Quote:
Originally Posted by card View Post
(dorin dragut pluginul, dar e deja in statsx ...)
if you look a little closer you will see the mai 2 things different then statsx:
1. The chat message are in colors
2. is using the vox sounds to announce the health and armor of the killer

and about the plugin (part) you present me I understand that is for killing a team mate... and I don't believe is necesary !
__________________
dorin2oo7 is offline
ZombieMan
Senior Member
Join Date: May 2008
Location: Italy.
Old 04-15-2009 , 09:11   Re: Kill Message w/ VOX v2.4
Reply With Quote #20

Bro... u can use statsx >.> who cares about sounds and colors? [ not meh ]

This plugin is nice but ... not enough to be aproved!

*WARNING* This is just my opinion! Repeat : "just my opinion!". Over!
__________________
BACK TO BUSINESS

If you want to feel better give me + karma but ... don't forget to leave your name

DO NOT PM me for support
ZombieMan 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 11:03.


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