Raised This Month: $51 Target: $400
 12% 

[REQ] Total Team Kill Per Round


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FireJinTW
Senior Member
Join Date: Jan 2012
Old 06-03-2015 , 12:40   [REQ] Total Team Kill Per Round
Reply With Quote #1

Can someone code that show the number of Total Team Kill in a round on the top right of the screen ?
Can make it only for CTs side because Ts side is zombie bots.
Then it will reset for next round.

Thank you
FireJinTW is offline
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 06-03-2015 , 22:26   Re: [REQ] Total Team Kill Per Round
Reply With Quote #2

Many of team-kills plugin exist, just do a little search and you'll find yours.
__________________
Shiina.Mashiro is offline
FireJinTW
Senior Member
Join Date: Jan 2012
Old 06-03-2015 , 22:42   Re: [REQ] Total Team Kill Per Round
Reply With Quote #3

I didn't mean Team-Kill plugins. I mean showing number of team's kill.
I try to find, but I dont see anything that will show Total Number of Team's Kill on the top right of the screen.

Last edited by FireJinTW; 06-03-2015 at 22:44.
FireJinTW is offline
FireJinTW
Senior Member
Join Date: Jan 2012
Old 06-22-2015 , 02:53   Re: [REQ] Total Team Kill Per Round
Reply With Quote #4

Bump
FireJinTW is offline
xxxperts
Senior Member
Join Date: Oct 2013
Location: India
Old 06-23-2015 , 03:23   Re: [REQ] Total Team Kill Per Round
Reply With Quote #5

Team Kills Plugin v0.1 [ UNTESTED ]


PHP Code:
#include < amxmodx >

new const PLUGIN[ ] = "Team Kills";
new const 
VERSION[ ] = "0.1";
new const 
AUTHOR[ ] = "ZOF 'X";

#pragma semicolon 1

#define MAX_PLAYERS    32
#define IsPlayer(%1) ( 1 <= %1 <= iMaxPlayers )

new iMaxPlayersiSyncHud;
new 
gTeamKillsMAX_PLAYERS ];

public 
plugin_init( ) {
    
    
register_pluginPLUGINVERSIONAUTHOR );
    
    
register_event"HLTV""EventNewRound""a""1=0""2=0" );
    
    
set_task0.9"TASK_SHOWHUD"___"b" );
    
    
iSyncHud CreateHudSyncObj( );
    
iMaxPlayers get_maxplayers( );
}

public 
client_deathiKilleriVictimiWeaponIDiHitPlaceiTeamKill ) {
        
    if( 
iTeamKill && IsPlayeriKiller ) && IsPlayeriVictim ) ) {
        
        
gTeamKillsiKiller ]++;
    }
    
}

public 
EventNewRound( ) {
    
    static 
PlayersMAX_PLAYERS ], iNumid;
    
    
get_playersPlayersiNum );
    
    while( --
iNum >= ) {
        
        
id PlayersiNum ];
        
        
gTeamKillsid ] = 0;
    }
}

public 
TASK_SHOWHUD( ) {
    
    static 
PlayersMAX_PLAYERS ], iNumid;
    
    
get_playersPlayersiNum );
    
    while( --
iNum >= ) {
        
        
id PlayersiNum ];
        
        
set_hudmessage000160000_0.00_1.01.0 );
        
ShowSyncHudMsgidiSyncHud"Team Kill: %d"gTeamKillsid ] );
    }
    

Attached Files
File Type: sma Get Plugin or Get Source (team_kill.sma - 567 views - 1.2 KB)
__________________
All my work is here
xxxperts is offline
FireJinTW
Senior Member
Join Date: Jan 2012
Old 06-23-2015 , 22:34   Re: [REQ] Total Team Kill Per Round
Reply With Quote #6

it shows Team Kill: at the top of screen, but when I kill Zombies (Ts) It always says 0, it doesn't increase

Just to Mention Zombies(Ts) i mean is podbot, not a players

Last edited by FireJinTW; 06-24-2015 at 00:38.
FireJinTW is offline
xxxperts
Senior Member
Join Date: Oct 2013
Location: India
Old 06-24-2015 , 00:10   Re: [REQ] Total Team Kill Per Round
Reply With Quote #7

Quote:
Originally Posted by FireJinTW View Post
it shows Team Kill: at the top of screen, but when I kill Zombies (Ts) It always says 0, it doesn't increase
you want to display team kill number, right ?
__________________
All my work is here
xxxperts is offline
FireJinTW
Senior Member
Join Date: Jan 2012
Old 06-24-2015 , 02:59   Re: [REQ] Total Team Kill Per Round
Reply With Quote #8

Quote:
Originally Posted by xxxperts View Post
you want to display team kill number, right ?
I want it show Number that Cts have been killing in a round. Because Zombie (Ts podbot) It has limited respawn. So Cts will know how many zombies left they need to kill
FireJinTW is offline
FireJinTW
Senior Member
Join Date: Jan 2012
Old 07-01-2015 , 05:40   Re: [REQ] Total Team Kill Per Round
Reply With Quote #9

2 weeks now, I think I can bump this thread. If someone could help me on that, I will be really appreciate.

Thank
FireJinTW is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 07-01-2015 , 11:01   Re: [REQ] Total Team Kill Per Round
Reply With Quote #10

i think you want this
test it
Attached Files
File Type: sma Get Plugin or Get Source (count_ts.sma - 538 views - 522 Bytes)
indraraj striker 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 04:25.


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